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:
Dylan K. Taylor 2019-07-27 14:44:40 +01:00
parent 1e65ac0d85
commit 6566dd8c8f

View File

@ -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);