diff --git a/src/classes/class-tainacan-background-process.php b/src/classes/class-tainacan-background-process.php index 68660d9f5..234c40b51 100644 --- a/src/classes/class-tainacan-background-process.php +++ b/src/classes/class-tainacan-background-process.php @@ -305,7 +305,7 @@ abstract class Background_Process extends \Tainacan_WP_Background_Process { $this->close( $batch->key, 'errored' ); $this->debug('Batch closed due to captured error'); - + $this->unlock_process(); }); $task = $batch;