fix(plugins): keep window navigation tests compatible

This commit is contained in:
Neil
2026-07-13 03:33:25 -07:00
parent 695b4ad576
commit 09bc2a7972
@@ -71,5 +71,5 @@ export function registerPluginPanelNavigationGuard(webContents: WebContents): vo
event.preventDefault()
}
})
webContents.once('destroyed', () => registry.clear())
webContents.on('destroyed', () => registry.clear())
}