Fix auto cleanup of Extension's IPC classes (#3505)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-07-23 15:14:11 -04:00
1 parent de6560b427
commit 1437f8a945
3 files changed
+27 -7

No files matched your search

+2 -2
View File
@@ -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);
});
}