App launching using electron-efl was faster than xwalk and
used more memory because of webview creation under window init.
Now BrowserWindow will not initialized when wrt-loader preloads.
This decrease the memory consumption of wrt-loader and
app launching time is nearly the same as the xwalk.
Change-Id: I0c8a8b2dd86a0e445cd1f6ca75cab2c231cd66a9
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
if (wrt.isElectronLaunch()) {
return;
}
- _this.webApplication = new WebApplication(options);
});
wrt.on('start-app', function() {
runtime_debug('start-app');
Module._load(mainJsPath, Module, true);
app.emit('ready');
} else {
+ _this.webApplication = new WebApplication(options);
_this.webApplication.focusedWebWindow.setUrl('');
if (wrt.appID !== 'NVPDzvckj9.RuntimeAddonSetting') {
_this.extensionManager.activateAll(app);