Skip to content

Commit

Permalink
switch to exit not close
Browse files Browse the repository at this point in the history
  • Loading branch information
eleanorjboyd committed Aug 11, 2023
1 parent 3be0ae2 commit 8dfc357
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class PytestTestExecutionAdapter implements ITestExecutionAdapter {
this.outputChannel?.append(data);
});

result?.proc?.on('close', () => {
result?.proc?.on('exit', () => {
deferredExec.resolve({ stdout: '', stderr: '' });
deferred.resolve();
disposeDataReceiver?.(this.testServer);
Expand Down

0 comments on commit 8dfc357

Please sign in to comment.