Revert "Add a project setting to enable stdout flushing in release builds"

This reverts commit 341b9cf15a.

This makes the logger crash when used during cleanup: #44850.
This commit is contained in:
Rémi Verschelde
2021-01-05 13:32:41 +01:00
parent 58a1ed63bd
commit 66bfe855a8
3 changed files with 9 additions and 24 deletions

View File

@@ -369,11 +369,6 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
ClassDB::register_class<Performance>();
engine->add_singleton(Engine::Singleton("Performance", performance));
// Only flush stdout in debug builds by default, as spamming `print()` will
// decrease performance if this is enabled.
GLOBAL_DEF("application/run/flush_stdout_on_print", false);
GLOBAL_DEF("application/run/flush_stdout_on_print.debug", true);
GLOBAL_DEF("debug/settings/crash_handler/message", String("Please include this when reporting the bug on https://github.com/godotengine/godot/issues"));
MAIN_PRINT("Main: Parse CMDLine");