Merge pull request #113193 from YeldhamDev/proj_manager_wayland_fix

Fix error message when closing the project manager on Wayland
This commit is contained in:
Rémi Verschelde 2025-11-26 23:44:41 +01:00
commit d5b76f733b
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

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