fix: add unlock process on shutdown function #383
This commit is contained in:
parent
c23ad3d37f
commit
0f5a2a0b87
|
@ -310,7 +310,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;
|
||||
|
|
Loading…
Reference in New Issue