1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-28 16:07:14 +00:00

Fix error message when closing the project manager on Wayland

This commit is contained in:
Michael Alexsander
2025-11-26 11:16:08 -03:00
parent 9dd6c4dbac
commit 69ff129e33

View File

@@ -2962,7 +2962,9 @@ void WaylandEmbedder::handle_fd(int p_fd, int p_revents) {
WaylandEmbedder::~WaylandEmbedder() {
shutdown();
proxy_thread.wait_to_finish();
if (proxy_thread.is_started()) {
proxy_thread.wait_to_finish();
}
}
#endif // TOOLS_ENABLED