In web_applicaton, should use this.flushData(), otherwise
there is error "flushData is not defined"
Change-Id: I8e3d8689cf3a0ebd10e637e5131633f4c2258d6c
Signed-off-by: liwei <wei90727.li@samsung.com>
}
this.suspended = true;
this.windowList[this.windowList.length - 1].hide();
- flushData();
+ this.flushData();
if (!this.backgroundRunnable()) {
if (!this.multitaskingSupport) {
// FIXME : terminate app after visibilitychange event handling
this.inspectorSrc = '';
wrt.tv.cancelDialogs(this.mainWindow.webContents);
}
- flushData();
+ this.flushData();
if (this.debugPort) {
console.log('stop inspector server');
this.debugPort = 0;