mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix auto cleanup of Extension's IPC classes (#3505)
This commit is contained in:
1 parent
de6560b427
commit
1437f8a945
3 files changed
+27
-7
No files matched your search
@@ -61,7 +61,7 @@ function bindClusterManagerRouteEvents() {
|
||||
|
||||
// Handle navigation via IPC
|
||||
ipcRendererOn(IpcRendererNavigationEvents.NAVIGATE_IN_APP, (event, url: string) => {
|
||||
logger.info(`[IPC]: ${event.type}: ${url}`, { currentLocation: location.href });
|
||||
logger.info(`[IPC]: navigate to ${url}`, { currentLocation: location.href });
|
||||
navigate(url);
|
||||
});
|
||||
}
|
||||
@@ -69,7 +69,7 @@ function bindClusterManagerRouteEvents() {
|
||||
// Handle cluster-view renderer process events within iframes
|
||||
function bindClusterFrameRouteEvents() {
|
||||
ipcRendererOn(IpcRendererNavigationEvents.NAVIGATE_IN_CLUSTER, (event, url: string) => {
|
||||
logger.info(`[IPC]: ${event.type}: ${url}`, { currentLocation: location.href });
|
||||
logger.info(`[IPC]: navigate to ${url}`, { currentLocation: location.href });
|
||||
navigate(url);
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user