Skip to content

Commit f93fd1e

Browse files
committed
Update null check in dispose() method
Signed-off-by: Denis Golovin dgolovin@redhat.com
1 parent 1e9f468 commit f93fd1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/explorer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export class OpenShiftExplorer implements TreeDataProvider<OpenShiftObject>, Dis
111111
}
112112

113113
dispose(): void {
114-
this?.fsw.watcher.close();
114+
this.fsw?.watcher?.close();
115115
this.treeView.dispose();
116116
}
117117

0 commit comments

Comments
 (0)