debt - reduce usage of electron remote module

This commit is contained in:
Benjamin Pasero
2018-08-23 13:02:33 +02:00
parent 9a57f2e00b
commit 8f96ce69e2
8 changed files with 51 additions and 39 deletions

View File

@@ -198,7 +198,7 @@ export function startup(data: ProcessExplorerData): void {
applyZoom(data.zoomLevel);
// Map window process pids to titles, annotate process names with this when rendering to distinguish between them
ipcRenderer.on('windowsInfoResponse', (event, windows) => {
ipcRenderer.on('vscode:windowsInfoResponse', (event, windows) => {
mapPidToWindowTitle = new Map<number, string>();
windows.forEach(window => mapPidToWindowTitle.set(window.pid, window.title));
});