Skip to content

Commit

Permalink
Testing plugin: Ignore client.playback.playersignal
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ckoates committed Aug 25, 2024
1 parent d7fb38d commit 3666a30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/Testing/src/clientIpcLogging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const ipcRenderer: IpcRenderer = (<any>window).electron.ipcRenderer;
const ipcListeners: Record<string, (_: IpcRendererEvent, ...args: any[]) => void> = {};
export const startClientIpcLogging = async () => {
for (const eventName of Object.values(await ClientMessageChannelEnum)) {
if (eventName === "client.playback.playersignal") continue; // This event is too spammy
ipcListeners[eventName] = (_, ...args) => trace.log(eventName, ...args);
ipcRenderer.on(eventName, ipcListeners[eventName]);
}
Expand Down

0 comments on commit 3666a30

Please sign in to comment.