Browse Source

Update NCPlayerToolBar.swift

Marino Faggiana 2 years ago
parent
commit
916e995202
1 changed files with 2 additions and 0 deletions
  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")
     }