Skip to content

Commit

Permalink
C2-25226: Add missing event param to openfin disconnection handler (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinerollindev authored Feb 3, 2025
1 parent 555a5de commit 4e585a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/renderer/ssf-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,8 @@ local.ipcRenderer.on(
);

local.ipcRenderer.on('openfin-disconnection', (_event: Event) => {
local.openfinDisconnectionCallback?.();
local.ipcRenderer.on('openfin-disconnection', (_event: Event, disconnectionEvent) => {
local.openfinDisconnectionCallback?.(disconnectionEvent);
});

// Invoked whenever the app is reloaded/navigated
Expand Down

0 comments on commit 4e585a9

Please sign in to comment.