Skip to content

Commit

Permalink
Add unref to allow the process to exit
Browse files Browse the repository at this point in the history
  • Loading branch information
matteodepalo committed Aug 8, 2023
1 parent 3ed7eab commit f18ae75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ export default class App extends PureComponent<Props, State> {
if (--this.rawModeEnabledCount === 0) {
stdin.setRawMode(false);
stdin.removeListener('readable', this.handleReadable);
stdin.unref();
}
};

Expand Down

0 comments on commit f18ae75

Please sign in to comment.