Skip to content

Commit b85dbe4

Browse files
committed
fix: release the stdin after Ctrl-C quit
1 parent a19675d commit b85dbe4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/extension-runners/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ export function defaultReloadStrategy(
307307

308308
log.info('\nExiting web-ext on user request');
309309
extensionRunner.exit();
310+
// Release stdin to the parent process
311+
process.stdin.destroy();
310312
});
311313
}
312314
}

0 commit comments

Comments
 (0)