Skip to content

Commit

Permalink
replace exit0 with application terminate
Browse files Browse the repository at this point in the history
  • Loading branch information
XuYicong committed Aug 13, 2022
1 parent 4c82280 commit aa1a423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PlayTools/PlayCover.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ final public class PlayCover : NSObject {
queue: OperationQueue.main
) { noti in
if PlayScreen.shared.nsWindow?.isEqual(noti.object) ?? false {
exit(0)
Dynamic.NSApplication.sharedApplication.terminate(self)
}
}
}
Expand Down

0 comments on commit aa1a423

Please sign in to comment.