浏览代码

Update NCPlayerToolBar.swift

Marino Faggiana 2 年之前
父节点
当前提交
916e995202
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayerToolBar.swift

+ 2 - 0
iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayerToolBar.swift

@@ -134,6 +134,8 @@ class NCPlayerToolBar: UIView {
     }
 
     deinit {
+
+        audioSession.removeObserver(self, forKeyPath: "outputVolume")
         print("deinit NCPlayerToolBar")
     }