In web_applicaton, should use this.flushData() to avoid
there is error "flushData is not defined"
Change-Id: I858268b8109becf5495d4d0415090690f35ad4c9
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;