bigbluebutton-Github/labs/bbb-webrtc-sfu/lib/mcs-core/CoreProcess.js
2017-11-11 01:44:50 +00:00

13 lines
253 B
JavaScript

const MCSApiStub = require('./media/MCSApiStub');
process.on('uncaughtException', function (error) {
console.log(error.stack);
});
process.on('disconnect',function() {
console.log("Parent exited!");
process.kill();
});
core = new MCSApiStub();