Skip to content

Commit

Permalink
RDX: Trigger shutdown before stopping backend
Browse files Browse the repository at this point in the history
Addresses:
#7602 (comment)

Signed-off-by: Mark Yen <[email protected]>
  • Loading branch information
mook-as committed Oct 9, 2024
1 parent 5aa6f44 commit ba17df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -608,9 +608,9 @@ Electron.app.on('before-quit', async(event) => {
httpCredentialHelperServer.closeServer();

try {
await mainEvents.tryInvoke('extensions/shutdown');
await k8smanager?.stop();
await mainEvents.tryInvoke('shutdown-integrations');
await mainEvents.tryInvoke('extensions/shutdown');

console.log(`2: Child exited cleanly.`);
} catch (ex: any) {
Expand Down

0 comments on commit ba17df1

Please sign in to comment.