mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 13:46:16 +00:00
13 lines
363 B
Diff
13 lines
363 B
Diff
--- 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) {
|