Skip to content

Commit

Permalink
This should prevent a crash if setting changes while switching.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsheeler committed Sep 5, 2024
1 parent 24d6b99 commit 940b2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ export class PlatformGnomeShell extends AbstractPlatform {
}

_onSettingsChanged(key) {
this._settings = null;
this._settings = this._loadSettings();
for (let cb of this._settings_changed_callbacks) {
cb(this._extensionSettings, key);
}
Expand Down

0 comments on commit 940b2a9

Please sign in to comment.