mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 13:14:40 +01:00
Revert hotfix, the bug has to be fixed upstream in php itself
This commit is contained in:
parent
9ee8c00eb9
commit
be7e401bcd
@ -47,7 +47,7 @@ final class GarbageCollector
|
||||
}
|
||||
self::$started = true;
|
||||
|
||||
/*EventLoop::unreference(EventLoop::repeat(1, static function (): void {
|
||||
EventLoop::unreference(EventLoop::repeat(1, static function (): void {
|
||||
$currentMemory = self::getMemoryConsumption();
|
||||
if ($currentMemory > self::$memoryConsumption + self::$memoryDiffMb) {
|
||||
\gc_collect_cycles();
|
||||
@ -57,7 +57,7 @@ final class GarbageCollector
|
||||
Logger::log("gc_collect_cycles done. Cleaned memory: $cleanedMemory Mb", Logger::VERBOSE);
|
||||
}
|
||||
}
|
||||
}));*/
|
||||
}));
|
||||
|
||||
if (!\defined('MADELINE_RELEASE_URL')) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user