summarylogtreecommitdiffstats
path: root/tenacity.patch
blob: 643a13bf61eea923eaee2beec3ecdb72b2c33f5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --unified --recursive --text audacity/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c audacity.new/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c
--- audacity/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c	2021-07-02 00:17:06.606660728 +0800
+++ audacity.new/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c	2021-07-02 00:18:22.376662323 +0800
@@ -4363,11 +4363,12 @@
                 break;
         }
     }
+    
+    pthread_cleanup_pop( 1 );
 
 end:
     ; /* Hack to fix "label at end of compound statement" error caused by pthread_cleanup_pop(1) macro. */
     /* Match pthread_cleanup_push */
-    pthread_cleanup_pop( 1 );
 
     PA_DEBUG(( "%s: Thread %d exiting\n ", __FUNCTION__, pthread_self() ));
     PaUnixThreading_EXIT( result );