blob: 9f56b5f76cd2a0eaca2cc4c8506951a01416cbc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -Naur alsaplayer-0.99.77-orig/app/AlsaNode.cpp alsaplayer-0.99.77/app/AlsaNode.cpp
--- alsaplayer-0.99.77-orig/app/AlsaNode.cpp 2004-02-15 12:42:13.000000000 -0600
+++ alsaplayer-0.99.77/app/AlsaNode.cpp 2007-02-13 00:14:29.000000000 -0600
@@ -488,7 +488,7 @@
looping = false;
pthread_mutex_lock(&thread_mutex);
if (thread_running) {
- if (pthread_join(looper_thread, NULL)) {
+ if (looper_thread != NULL && pthread_join(looper_thread, NULL)) {
// Hmmm
}
thread_running = false;
|