Skip to content

Commit

Permalink
Ensure terminate flags restart when restarting
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Moran <rob.moran@arm.com>
  • Loading branch information
thegecko committed Aug 16, 2019
1 parent 9105c43 commit f718cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/debug/src/browser/debug-session-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export class DebugSessionManager {
if (await session.restart()) {
return session;
}
await session.terminate(!!restart);
await session.terminate(true);
const { options, configuration } = session;
configuration.__restart = restart;
return this.start(options);
Expand Down

0 comments on commit f718cb3

Please sign in to comment.