Ver Fonte

Merge branch 'develop' of http://svn.ouj.com:3000/duowan_iOS/SuperShow into develop

Melody há 5 anos atrás
pai
commit
6f0243b7df

+ 4 - 0
SuperShow/UI/Template/WSSTemplateDetailViewController.swift

@@ -94,6 +94,10 @@ class WSSTemplateDetailViewController: MTViewController {
             // App失去焦点
             self?.videoPause()
         }
+        NotificationCenter.default.reactive.notifications(forName: Notification.Name.kEditVideoFinish).take(duringLifetimeOf: self).observeValues { [weak self] _ in
+            self?.releaseObjects()
+        }
+        
 
         // ---
         videoContainer.appendTemplateModels(templateList)