quit() public method

Stops the thread using the best way possible. Try to stop it yourself before calling this.
public quit ( )
Esempio n. 1
0
 public function quit()
 {
     $this->shutdown();
     // Windows sucks
     if (Utils::getOS() !== "win") {
         parent::quit();
     }
 }
Esempio n. 2
0
 public function quit()
 {
     $this->shutdown();
     parent::quit();
 }