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