mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fixed AsyncTask memory leak (#922)
* Added PocketMine-TesterPlugin submodule with regression test
This commit is contained in:
@ -158,6 +158,10 @@ class AsyncPool{
|
||||
}
|
||||
}
|
||||
|
||||
foreach($this->workers as $worker){
|
||||
$worker->collect();
|
||||
}
|
||||
|
||||
Timings::$schedulerAsyncTimer->stopTiming();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user