mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-31 12:52:11 +00:00
- Like https://github.com/termux/termux-packages/pull/24719, but in `thunderbird` - I do not know for sure whether there is actually a way to reproduce the problem in `thunderbird`, but the same code is present, so it should be patched because even if it is currently unusued here, it could hypothetically start being used in the future by something.
17 lines
578 B
Diff
17 lines
578 B
Diff
firefox does not need this yet because Wayland is disabled in firefox
|
|
because of an issue that does not seem reproducible in Thunderbird
|
|
https://github.com/termux/termux-packages/pull/19441#issuecomment-2000151761
|
|
|
|
--- a/third_party/wayland-proxy/wayland-proxy.cpp
|
|
+++ b/third_party/wayland-proxy/wayland-proxy.cpp
|
|
@@ -739,7 +739,9 @@
|
|
if (mThreadRunning) {
|
|
Info("thread is still running, terminating.\n");
|
|
mThreadRunning = false;
|
|
+#ifndef __TERMUX__
|
|
pthread_cancel(mThread);
|
|
+#endif
|
|
pthread_join(mThread, nullptr);
|
|
}
|
|
if (mProxyServerSocket != -1) {
|