<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br>
I have a program in Python3 using PyQt5 in Windows 10 that launches a browser window to do a few tasks, and then closes it.  I have configured a persistent cookie store in a specific location on disk, and I see it being used.  The problem I'm running into is that new or changed cookies aren't written to disk for almost a full minute.  If the application is closed before that point, then the cookies are lost.  If I always wait a full minute before closing the application, then the cookies are present when I next open it.  I can see this, as well, if I open the folder in Explorer and press F5 over and over until I see the files Cookies and Cookies.journal update.<br>
<br><br></blockquote><div><br></div><div>We had a thread that sounded related in the past and this bug was linked:</div><div><br></div><div><a href="https://bugreports.qt.io/browse/QTBUG-58675">https://bugreports.qt.io/browse/QTBUG-58675</a></div><div><br></div><div></div><div>If related the linked change to the demobrowser may give you a hint </div></div></div>