Closed pvgnd closed 4 years ago
As of Symfony 4.4, we can reset application ($this->getApplication()->reset();) in a Symfony Command.
$this->getApplication()->reset();
This is usefull to reset Monolog (when finger crossed is used for example), and free resources while waiting for messages.
Hi @pvgnd It an excellent idea & @lyrixx suggested it too https://github.com/swarrot/swarrot/issues/193
Don't hesitate to propose an implementation. :)
As of Symfony 4.4, we can reset application (
$this->getApplication()->reset();
) in a Symfony Command.This is usefull to reset Monolog (when finger crossed is used for example), and free resources while waiting for messages.