1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-23 03:11:12 +01:00
This commit is contained in:
Daniil Gentili 2023-01-22 20:06:34 +01:00
parent 581d00c80a
commit 4e71422f09
3 changed files with 2 additions and 5 deletions

View File

@ -7,7 +7,6 @@ namespace danog\MadelineProto\Db;
use Amp\Sql\Pool;
use Amp\Sql\Result;
use PDO;
use Webmozart\Assert\Assert;
use function serialize;

View File

@ -26,8 +26,6 @@ use Amp\Sync\LocalMutex;
use danog\MadelineProto\Db\DbPropertiesTrait;
use Generator;
use function Amp\delay;
/**
* Event handler.
*/
@ -130,7 +128,8 @@ abstract class EventHandler extends InternalDoc
/**
* @internal
*/
public function waitForStartInternal(): void {
public function waitForStartInternal(): void
{
$this->startFuture?->await();
}
/**

View File

@ -47,7 +47,6 @@ final class GarbageCollector
return;
}
self::$started = true;
self::getMemoryConsumption();
EventLoop::repeat(1, static function (): void {
$currentMemory = self::getMemoryConsumption();