extensionSystem: Fix updating extension list on session update
Before reenabling all extensions, we update the list of enabled extensions to catch any changes that happened while extensions were enabled. However this is currently broken as onEnabledExtensionsChanged() is a nop while disabled, so just call getEnabledExtensions() directly.
This commit is contained in:
parent
fd837d74d1
commit
a36686a6aa
@ -334,7 +334,7 @@ function _sessionUpdated() {
|
|||||||
// from allowExtensions in the future
|
// from allowExtensions in the future
|
||||||
if (Main.sessionMode.allowExtensions) {
|
if (Main.sessionMode.allowExtensions) {
|
||||||
if (initted)
|
if (initted)
|
||||||
onEnabledExtensionsChanged();
|
enabledExtensions = getEnabledExtensions();
|
||||||
enableAllExtensions();
|
enableAllExtensions();
|
||||||
} else {
|
} else {
|
||||||
disableAllExtensions();
|
disableAllExtensions();
|
||||||
|
Loading…
Reference in New Issue
Block a user