We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca15539 commit 4071991Copy full SHA for 4071991
extension.js
@@ -8,8 +8,7 @@ const ExtensionSystem = imports.ui.extensionSystem;
8
9
// We declare this with var so it can be accessed by other extensions in
10
// GNOME Shell 3.26+ (mozjs52+).
11
-var dockManager;
12
-
+var dockManager = null
13
14
let _extensionlistenerId;
15
@@ -31,6 +30,7 @@ function disable() {
31
30
try {
32
if (dockManager != null) {
33
dockManager.destroy();
+ dockManager = null
34
}
35
} catch(e) {
36
log('Failed to destroy dockManager: %s'.format(e.message));
@@ -52,5 +52,6 @@ function conditionallyenabledock() {
52
dockManager = new Docking.DockManager();
53
} else if (!to_enable && dockManager) {
54
55
56
57
0 commit comments