Electron-222 - Removed the code which was deleting the method on args

This commit is contained in:
Kiran Niranjan 2018-01-02 14:32:40 +05:30 committed by kiranniranjan
parent 0be6104ce2
commit 22d913f6c1

View File

@ -730,12 +730,6 @@ function closeAll() {
if (window.displayTimer) {
clearTimeout(window.displayTimer);
}
if (window.electronNotifyOnCloseFunc) {
// ToDo: fix this: shouldn't delete method on arg
/* eslint-disable */
delete window.electronNotifyOnCloseFunc;
/* eslint-enable */
}
window.close();
});