marinofaggiana hace 5 años
padre
commit
2b0208ac74
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      iOSClient/Main/NCDetailViewController.swift

+ 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