You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cookies not flushed to disk when closing app immediately. Expose CookieManager.FlushStore method. #365
Reported to occur on Windows 10 in examples: wxpython.py, qt.py and hello_world.py. This issue occurs when using ApplicationSettings.cache_path option. Cookies are not flushed when closing app immediately. Cookies are flushd to disk every 30 sec or so.
changed the title [-]Cookies not flushed to disk on Windows[/-][+]Cookies not flushed to disk when closing app immediately on Windows[/+]on Feb 17, 2018
I can reproduce the issue on Windows 7 with the http://www.html-kit.com/tools/cookietester/ url. I've modified hello_world.py example and set cache_path option. If I set a cookie and close app within 30 seconds then the cookie is not persisted. If I wait 30 secs then I can see the cookie appear after relaunch.
Also reproducible with the wxpython.py example.
Also reproducible on Linux with the hello_world.py example.
Issue not reproducible in cefclient sample app.
changed the title [-]Cookies not flushed to disk when closing app immediately on Windows[/-][+]Cookies not flushed to disk when closing app immediately[/+]on Aug 2, 2018
changed the title [-]Cookies not flushed to disk when closing app immediately[/-][+]Cookies not flushed to disk when closing app immediately. Expose CookieManager.FlushStore method.[/+]on Aug 2, 2018
Activity
[-]Cookies not flushed to disk in the wxpython.py example on Windows[/-][+]Cookies not flushed to disk on Windows[/+][-]Cookies not flushed to disk on Windows[/-][+]Cookies not flushed to disk when closing app immediately on Windows[/+]cztomczak commentedon Aug 2, 2018
I can reproduce the issue on Windows 7 with the http://www.html-kit.com/tools/cookietester/ url. I've modified hello_world.py example and set
cache_pathoption. If I set a cookie and close app within 30 seconds then the cookie is not persisted. If I wait 30 secs then I can see the cookie appear after relaunch.Also reproducible with the wxpython.py example.
Also reproducible on Linux with the hello_world.py example.
Issue not reproducible in cefclient sample app.
[-]Cookies not flushed to disk when closing app immediately on Windows[/-][+]Cookies not flushed to disk when closing app immediately[/+]Update to handling of browser and frame references (#365)
[-]Cookies not flushed to disk when closing app immediately[/-][+]Cookies not flushed to disk when closing app immediately. Expose CookieManager.FlushStore method.[/+]Fix flushing cookies to disk when closing app immediately (#365).
cztomczak commentedon Aug 2, 2018
Fixed in rev c78619a.
If implementing custom cookie managers you have to call FlushStore explicitilly when closing associated browser.
When implementing custom cookie managers you must call FlushStore() (#…