'use strict';
const WAS_EVENT = require('./was_event');
+const IPC_MESSAGE = require('./ipc_message');
const DEFAULT = require('./default_value');
const path = require('path');
const ChildProcess = require('child_process');
childprocess_debug('child is killed ****************************');
self.childProcessPool.splice(self.childProcessPool.indexOf(self.childProcess), 1);
childprocess_debug('childProcess length : ' + self.childProcessPool.length);
- self.webwindows[0].send(WAS_EVENT.LAUNCHER.UPDATE, 'ping');
+ self.webwindows[0].send(IPC_MESSAGE.LAUNCHER.UPDATE, 'ping');
});
}
handleLauncherEvents() {
}
updateLauncer() {
rp_new_debug('No child_process fork : Update launcher');
- this.webwindows[0].send(WAS_EVENT.LAUNCHER.UPDATE, 'ping');
+ this.webwindows[0].send(IPC_MESSAGE.LAUNCHER.UPDATE, 'ping');
}
}
module.exports = WebApplication;