Skip to content

Commit

Permalink
SWOOLE_HOOK_ALL
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor committed Dec 17, 2024
1 parent 42e7300 commit 3141b8c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Events/Swoole.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ final class Swoole implements EventInterface
*/
private $errorHandler = null;

/**
* Constructor.
*/
public function __construct()
{
Coroutine::set(['hook_flags' => SWOOLE_HOOK_ALL]);
}

/**
* {@inheritdoc}
*/
Expand Down

0 comments on commit 3141b8c

Please sign in to comment.