1
0
mirror of https://github.com/danog/amp.git synced 2024-11-30 04:29:08 +01:00

Remove superfluous if conditional

This commit is contained in:
Daniel Lowrey 2014-12-08 11:56:26 -05:00
parent c21068fc94
commit a99b923819

View File

@ -104,10 +104,7 @@ class NativeReactor implements Reactor {
* @return void
*/
public function stop() {
$this->isRunning = false;
if ($this->isTicking) {
$this->isTicking = false;
}
$this->isRunning = $this->isTicking = false;
}
/**