Merge pull request #113949 from deralmas/wl-misc-fixes/too-much-debugging

Wayland: Remove `GODOT_DEBUG_EMBEDDER_SINGLE_INSTANCE` debug option
This commit is contained in:
Rémi Verschelde
2026-01-13 11:05:54 +01:00

View File

@@ -4667,12 +4667,6 @@ Error WaylandThread::init() {
ERR_FAIL_COND_V_MSG(embedder_socket_path.is_empty(), ERR_CANT_CREATE, "Wayland embedder returned invalid path.");
OS::get_singleton()->set_environment("GODOT_WAYLAND_DISPLAY", embedder_socket_path);
// Debug
if (OS::get_singleton()->get_environment("GODOT_DEBUG_EMBEDDER_SINGLE_INSTANCE") == "1") {
print_line("Pausing as per GODOT_DEBUG_EMBEDDER_SINGLE_INSTANCE.");
pause();
}
}
#endif // TOOLS_ENABLED