13 lines
380 B
Diff
13 lines
380 B
Diff
diff -uNr djvulibre-3.5.27/libdjvu/GThreads.cpp djvulibre-3.5.27.mod/libdjvu/GThreads.cpp
|
|
--- djvulibre-3.5.27/libdjvu/GThreads.cpp 2015-02-08 19:30:52.000000000 +0000
|
|
+++ djvulibre-3.5.27.mod/libdjvu/GThreads.cpp 2020-11-05 20:29:41.941759223 +0000
|
|
@@ -447,7 +447,7 @@
|
|
GThread::terminate()
|
|
{
|
|
if (xentry || xarg)
|
|
- pthread_cancel(hthr);
|
|
+ pthread_exit(NULL);
|
|
}
|
|
|
|
int
|