Skip to content

Commit

Permalink
fix: socket process exits when parent process does (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
Balte de Wit committed Oct 24, 2018
1 parent 8197ab5 commit 4754cc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/atemSocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export class AtemSocket extends EventEmitter {
exitHook(() => {
if (this._socketProcess) {
this._socketProcess.removeAllListeners()
this._socketProcess.kill()
}
})
}
Expand Down

0 comments on commit 4754cc7

Please sign in to comment.