2017-10-13 21:50:17 +08:00
|
|
|
const ScreenshareManager = require('./ScreenshareManager');
|
|
|
|
|
2017-11-25 02:59:40 +08:00
|
|
|
let c = new ScreenshareManager();
|
|
|
|
c.start();
|
|
|
|
|
2017-10-13 21:50:17 +08:00
|
|
|
process.on('uncaughtException', function (error) {
|
|
|
|
console.log(error.stack);
|
|
|
|
});
|
|
|
|
|
2017-11-25 02:59:40 +08:00
|
|
|
process.on('disconnect', c.stopAll);
|