mirror of https://github.com/godotengine/godot
Fix error message when closing the project manager on Wayland
This commit is contained in:
parent
9dd6c4dbac
commit
69ff129e33
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue