You are here

public function BackgroundProcess::unlock in Background Process 7.2

Shutdown a process (and ensure it doesn't start again by itself, i.e. "unlock")

File

./background_process.inc, line 637
External API short overview

Class

BackgroundProcess
@file

Code

public function unlock() {
  $this
    ->logDebug(__FUNCTION__);
  return $this
    ->keepAlive(FALSE)
    ->ensureCleanup()
    ->shutdown();
}