marinofaggiana 5 жил өмнө
parent
commit
2b0208ac74

+ 2 - 1
iOSClient/Main/NCDetailViewController.swift

@@ -340,7 +340,8 @@ class NCDetailViewController: UIViewController {
     }
     
     @objc func viewUnload() {
-        
+        if self.view?.window == nil { return }
+
         metadata = nil
         selector = nil