File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -123,9 +123,6 @@ class AppDelegate: NSObject, NSApplicationDelegate {
123
123
return applicationDirectory
124
124
} ( )
125
125
126
- // The default name for XiEditor's error logs
127
- let defaultCoreLogName = " xi_tmp.log "
128
-
129
126
lazy var errorLogDirectory : URL ? = {
130
127
let logDirectory = FileManager . default. urls (
131
128
for: . libraryDirectory,
@@ -191,17 +188,6 @@ class AppDelegate: NSObject, NSApplicationDelegate {
191
188
renameCliToggle ( )
192
189
}
193
190
194
- // Clean up temporary Xi stderr log
195
- func applicationWillTerminate( _ notification: Notification ) {
196
- if let tmpErrLogFile = errorLogDirectory? . appendingPathComponent ( defaultCoreLogName) {
197
- do {
198
- try FileManager . default. removeItem ( at: tmpErrLogFile)
199
- } catch let err as NSError {
200
- print ( " Failed to remove temporary log file. \( err) " )
201
- }
202
- }
203
- }
204
-
205
191
// MARK: - CLI Menu Items
206
192
@IBOutlet weak var cliToggle : NSMenuItem !
207
193
You can’t perform that action at this time.
0 commit comments