mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +00:00
MemoryManager: Use get_declared_classes() to build lists of static properties
This makes memory dumping independent from the autoloader implementation, and fixes #1958.
This commit is contained in:
@@ -52,7 +52,6 @@ class DumpWorkerMemoryTask extends AsyncTask{
|
||||
|
||||
MemoryManager::dumpMemory(
|
||||
["worker" => $this->worker, "store" => $store],
|
||||
$this->worker->getClassLoader(),
|
||||
$this->outputFolder . DIRECTORY_SEPARATOR . "AsyncWorker#" . $this->worker->getAsyncWorkerId(),
|
||||
$this->maxNesting,
|
||||
$this->maxStringSize
|
||||
|
Reference in New Issue
Block a user