From 6566dd8c8fa40d88b5484df414147d407d4ae6e4 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sat, 27 Jul 2019 14:44:40 +0100 Subject: [PATCH] AsyncPool: Remove useless warning about complex data leftovers this is automatically cleaned up anyway, so this warning is just redundant noise. --- src/pocketmine/scheduler/AsyncPool.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pocketmine/scheduler/AsyncPool.php b/src/pocketmine/scheduler/AsyncPool.php index 8174b230c..a0b6200b0 100644 --- a/src/pocketmine/scheduler/AsyncPool.php +++ b/src/pocketmine/scheduler/AsyncPool.php @@ -28,7 +28,6 @@ use pocketmine\utils\Utils; use function array_keys; use function assert; use function count; -use function get_class; use function spl_object_hash; use function time; use const PHP_INT_MAX; @@ -318,9 +317,6 @@ class AsyncPool{ */ $task->checkProgressUpdates($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);