ZhangWenTao před 2 roky
rodič
revize
39620e1095

+ 2 - 1
src/main/java/com/persagy/cameractl/common/VideoExportProcessContext.java

@@ -128,9 +128,10 @@ public class VideoExportProcessContext {
 
     public synchronized void endTransmission() {
         if (inTransmission) {
+            CURRENT_CONTEXT = null;
+
             semaphore.release();
             inTransmission = false;
-            CURRENT_CONTEXT = null;
         }
     }