mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-10 07:49:42 +00:00
AsyncPool: Remove useless warning about complex data leftovers
this is automatically cleaned up anyway, so this warning is just redundant noise.
This commit is contained in:
parent
1e65ac0d85
commit
6566dd8c8f
@ -28,7 +28,6 @@ use pocketmine\utils\Utils;
|
|||||||
use function array_keys;
|
use function array_keys;
|
||||||
use function assert;
|
use function assert;
|
||||||
use function count;
|
use function count;
|
||||||
use function get_class;
|
|
||||||
use function spl_object_hash;
|
use function spl_object_hash;
|
||||||
use function time;
|
use function time;
|
||||||
use const PHP_INT_MAX;
|
use const PHP_INT_MAX;
|
||||||
@ -318,9 +317,6 @@ class AsyncPool{
|
|||||||
*/
|
*/
|
||||||
$task->checkProgressUpdates($this->server);
|
$task->checkProgressUpdates($this->server);
|
||||||
$task->onCompletion($this->server);
|
$task->onCompletion($this->server);
|
||||||
if($task->removeDanglingStoredObjects()){
|
|
||||||
$this->logger->notice("AsyncTask " . get_class($task) . " stored local complex data but did not remove them after completion");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->removeTask($task);
|
$this->removeTask($task);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user