mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-01 21:52:12 +01:00
fa267da74b
Previously, the redirection would be triggered in the EditorConsole constructor. However, this was problematic for unittests, which do not need this redirection. Since the redirection really is not useful intul there is a current EditorConsole anyway, it can just be delayed a bit until setCurrentEditorConsole is called.