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:
parent
c21068fc94
commit
a99b923819
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user