From 13f058b3e2b340d23ca0ac49d4f9e75c44f5696a Mon Sep 17 00:00:00 2001 From: Jari Kolehmainen Date: Mon, 1 Feb 2021 12:26:49 +0200 Subject: [PATCH] cleanup Signed-off-by: Jari Kolehmainen --- src/common/ipc.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/ipc.ts b/src/common/ipc.ts index 9d36c7ccb1..c2f8562cf7 100644 --- a/src/common/ipc.ts +++ b/src/common/ipc.ts @@ -18,7 +18,7 @@ export async function requestMain(channel: string, ...args: any[]) { } function getSubFrames(): ClusterFrameInfo[] { - return toJS(Array.from(clusterFrameMap.values())); + return toJS(Array.from(clusterFrameMap.values()), { recurseEverything: true }); } export async function broadcastMessage(channel: string, ...args: any[]) { @@ -79,7 +79,7 @@ export function unsubscribeAllFromBroadcast(channel: string) { } export function bindBroadcastHandlers() { - handleRequest(subFramesChannel, async () => { - return await getSubFrames(), { recurseEverything: true }; + handleRequest(subFramesChannel, () => { + return getSubFrames(); }); }