mirror of
https://github.com/stablyai/orca.git
synced 2026-10-17 08:03:14 +00:00
fix(plugins): keep window navigation tests compatible
This commit is contained in:
@@ -71,5 +71,5 @@ export function registerPluginPanelNavigationGuard(webContents: WebContents): vo
|
||||
event.preventDefault()
|
||||
}
|
||||
})
|
||||
webContents.once('destroyed', () => registry.clear())
|
||||
webContents.on('destroyed', () => registry.clear())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user