Skip to content

Commit

Permalink
SDA-4442 - Release powershell on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
KiranNiranjan committed Jan 12, 2024
1 parent b862bd5 commit d6b6acf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/window-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import * as fs from 'fs';
import * as path from 'path';
import { format, parse } from 'url';

import { powerShellRelease } from 'systeminformation';
import {
apiName,
ICallNotificationData,
Expand Down Expand Up @@ -2376,6 +2377,7 @@ export class WindowHandler {
if (shouldRelaunch) {
app.relaunch();
}
powerShellRelease();
await terminateC9Shell();
app.exit();
};
Expand Down

0 comments on commit d6b6acf

Please sign in to comment.