Skip to content

Commit

Permalink
fix: minimal mode event missing close MF-6019
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Works committed Jan 29, 2024
1 parent 632e344 commit f75f594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-infra/src/manager/manage.ts
Expand Up @@ -32,7 +32,6 @@ export function createManager<
}>()

return {
configureHostHooks: (host: Plugin.__Host.Host<T, Omit<Context, ManagedContext>>) => (_host = host),
activatePlugin,
stopPlugin,
isActivated,
Expand Down Expand Up @@ -71,6 +70,7 @@ export function createManager<

const instance = activated.get(id)
if (instance) instance.minimalModeEnabled.value = result
events.emit('minimalModeChanged', id, result)
}

function startDaemon(
Expand Down

0 comments on commit f75f594

Please sign in to comment.