ZhangWenTao 2 年之前
父節點
當前提交
39620e1095
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/main/java/com/persagy/cameractl/common/VideoExportProcessContext.java

+ 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;
         }
     }