Hello,
I have an issue with OnContextReleased from CefRenderProcessHandler. I would like to call this method every time I close the browser.
Based on what I read around the forum: http://magpcss.org/ceforum/viewtopic.php?f=6&t=14687. The OnContextReleased is only called on thing like "reload". So I tried it, close the windows with "X" or any other, its never calling the OnContextReleased, but when I force the refresh (eg: from the debbuger), the OnContextReleased is called and the browser continue to run afterward with a new context (I supposed at least).
Is there a way to ensure the OnContextReleased to be called every time the UI is about to close ? Its because my Renderer process implement some CefV8Accessor and I would like to save all V8 values on disk. I already read all values from the disk during the V8 Accessor construtor, this works perfectly, but the "saving" part is never called when I need it.
Thanks,
Alex