#108055 Утечка памяти в yml-app - первый подход к исследованию

This commit is contained in:
Александр Рыбкин 2025-02-05 16:52:19 +03:00
parent 0127ffb823
commit 23b75f0e43
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ abstract class BaseController extends \yii\console\Controller
// throw $exception;
}
$this->sendResult($queue, $envelope, $value);
\Yii::getLogger()->flush();
\Yii::getLogger()->flush(true);
\Yii::setLogger(null);
});
}