Skip to content

Commit f531b28

Browse files
author
Kartik Raj
committed
Kill process regard;ess
1 parent 991e1c6 commit f531b28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/common/process/rawProcessApis.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export function plainExec(
100100
const deferred = createDeferred<ExecutionResult<string>>();
101101
const disposable: IDisposable = {
102102
dispose: () => {
103-
if (!proc.killed && deferred.completed) {
103+
if (!proc.killed) {
104104
proc.kill();
105105
}
106106
},

0 commit comments

Comments
 (0)