From fb155bd6ae71afdea35c49cfac8f8c5859750008 Mon Sep 17 00:00:00 2001 From: Arjay <46464980+rjworks@users.noreply.github.com> Date: Sun, 2 Aug 2020 11:00:07 -0600 Subject: [PATCH] Update TebexThreadPool.php --- src/tebexio/pocketmine/thread/TebexThreadPool.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tebexio/pocketmine/thread/TebexThreadPool.php b/src/tebexio/pocketmine/thread/TebexThreadPool.php index 675f7c5..202b666 100644 --- a/src/tebexio/pocketmine/thread/TebexThreadPool.php +++ b/src/tebexio/pocketmine/thread/TebexThreadPool.php @@ -42,7 +42,7 @@ public function start() : void{ } foreach($this->workers as $thread){ - $thread->start(); + $thread->start(PTHREADS_INHERIT_INI | PTHREADS_INHERIT_CONSTANTS); } } @@ -95,4 +95,4 @@ public function shutdown() : void{ } $this->workers = []; } -} \ No newline at end of file +}