Hello dear collegues!
I am making a NW.js app in C2 that should run for several days and when I use "Save/Load" general function, in Chrome or Nw.js at least it drives to "memory leak" ... the only way I found to solve it is to clear entirely (manually delete in the inspector of chrome or NW.js) so memory do not reach the limits to crash the app... (that is about 2 hours)...
I found very interesting the option to call the browser object to run the javascript "window.indexeddb.deletedatabase('_c2savestates');" ... but it does not work for me, I don't know if need any kind of permission, or what to do... but it does not clear (nor delete) this database...
could you make me a CAPX example or give me some tip to erase this _c2savestates ?
thank you in advance, please someone help me cause I am working on this app for about 3 months and is useless due to this crash..
Note: tried to use localstorage because of the amount of variables and objects... does not work for me, long to explain, just believe I need to use save/load
Thanks in advance again!