Skip to content

Commit 6bdde36

Browse files
committed
Using cancelables so workspace cleanup is more concise
1 parent 8abb2b5 commit 6bdde36

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

CodeEdit/Features/Documents/WorkspaceDocument/WorkspaceDocument.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ final class WorkspaceDocument: NSDocument, ObservableObject, NSToolbarDelegate {
6161
deinit {
6262
cancellables.forEach { $0.cancel() }
6363
NotificationCenter.default.removeObserver(self)
64-
notificationPanelSubscription?.cancel()
6564
}
6665

6766
func getFromWorkspaceState(_ key: WorkspaceStateKey) -> Any? {

0 commit comments

Comments
 (0)