Finalize log stream before exiting process

Reviewed By: antonk52

Differential Revision: D51229230

fbshipit-source-id: 0e7f657a170eb8602ade9abf1db1976c5b51dc3f
This commit is contained in:
Andrey Goncharov
2023-11-11 08:21:12 -08:00
committed by Facebook GitHub Bot
parent 0cbd640e5c
commit a400eb2872
8 changed files with 87 additions and 13 deletions

View File

@@ -583,6 +583,7 @@ export class FlipperServerImpl implements FlipperServer {
return uploadRes;
},
shutdown: async () => {
// Do not use processExit helper. We want to server immediatelly quit when this call is triggerred
process.exit(0);
},
'is-logged-in': async () => {