Fix IPC server

This commit is contained in:
Daniil Gentili 2020-09-18 20:44:30 +02:00
parent c643cd063a
commit 0cc1627220
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -80,6 +80,7 @@ trait LoggerLoop
*/ */
protected function startedLoop(): void protected function startedLoop(): void
{ {
$this->started = true;
parent::startedLoop(); parent::startedLoop();
$this->logger->logger("Entered $this", Logger::ULTRA_VERBOSE); $this->logger->logger("Entered $this", Logger::ULTRA_VERBOSE);
} }
@ -91,6 +92,7 @@ trait LoggerLoop
*/ */
protected function exitedLoop(): void protected function exitedLoop(): void
{ {
$this->started = false;
parent::exitedLoop(); parent::exitedLoop();
$this->logger->logger("Exited $this", Logger::ULTRA_VERBOSE); $this->logger->logger("Exited $this", Logger::ULTRA_VERBOSE);
} }