소스 검색

【综合】关闭文档,内存问题处理

tangchao 9 달 전
부모
커밋
f60d064593
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      PDF Office/PDF Master/Class/PDFWindowController/ViewController/KMMainViewController.swift

+ 1 - 1
PDF Office/PDF Master/Class/PDFWindowController/ViewController/KMMainViewController.swift

@@ -1880,7 +1880,7 @@ import Cocoa
         }
         self.removeAutoSaveInfo()
         KMAdsManager.defaultManager.dismissSheetModal(for: self.readContentView)
-        self.myDocument = nil
+//        self.myDocument = nil
     }
     
     public func clearSecureOptions() {