mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Consolidate stuff under same MobX action
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
parent
978364515e
commit
e33c44c6cc
@ -543,9 +543,9 @@ const disableExtensionsFor = <T extends ObservableSet>(
|
||||
extensionInstances.forEach((instance) => {
|
||||
const extension = getExtension(instance);
|
||||
|
||||
extension.deregister();
|
||||
|
||||
runInAction(() => {
|
||||
extension.deregister();
|
||||
|
||||
extensionState.delete(extension);
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user