Skip to content

Commit 653c535

Browse files
committed
fixes #75 removed unneeded SIGTERM handler that prevents the node process from stopping
1 parent 6a3200b commit 653c535

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,6 @@ module.exports = (function () {
279279
});
280280
};
281281

282-
// stop mockserver when kill used
283-
process.on('SIGTERM', exitHandler.bind(null, {exit: true, options: options}));
284-
285282
// stop mockserver for uncaught exceptions
286283
process.on('uncaughtException', exitHandler.bind(null, {exit: true, options: options}));
287284
}

0 commit comments

Comments
 (0)