Skip to content

Commit 70e67dc

Browse files
committed
Do not call stop after shutdown
Avoids segfaults in ev and uv extensions.
1 parent caa18c9 commit 70e67dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/EventLoop/Internal/AbstractDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function run(): void
9696
$this->tick();
9797
}
9898
} finally {
99-
$this->stop();
99+
$this->running = false;
100100
}
101101
}
102102

0 commit comments

Comments
 (0)