Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
Update debugBridge.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
hamitb committed Feb 25, 2020
1 parent ab44602 commit f61a343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debugBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ process.on('SIGTERM', () => {
if (brokerSocket.readyState === WebSocket.OPEN) {
brokerSocket.close(CLOSING_CODES.NORMAL, 'Normal');
}
if (debuggerSocket.destroyed) {
if (!debuggerSocket.destroyed) {
debuggerSocket.end();
}
});
Expand Down

0 comments on commit f61a343

Please sign in to comment.