mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-04 01:29:18 +01:00
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.