PhoneAPIs shouldn't register for messages until they have clients

This commit is contained in:
Kevin Hester
2021-03-25 07:51:54 +08:00
parent ab325d6d2c
commit 0261c243e0
7 files changed
+64 -38

No files matched your search

-1
View File
@@ -29,7 +29,6 @@ SerialConsole::SerialConsole() : StreamAPI(&Port), RedirectablePrint(&Port)
// setDestination(&noopPrint); for testing, try turning off 'all' debug output and see what leaks
Port.begin(SERIAL_BAUD);
StreamAPI::init();
emitRebooted();
}