We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b8636a commit d9bbf7cCopy full SHA for d9bbf7c
src/cefpython.pyx
@@ -449,6 +449,13 @@ def Shutdown():
449
Debug("Shutdown()")
450
with nogil:
451
CefShutdown()
452
+ # Temporary fix for possible errors on shutdown. See this post:
453
+ # https://magpcss.org/ceforum/viewtopic.php?p=30858#p30858
454
+ # May be fixed by host owned message loop, see Issue 1805:
455
+ # https://bitbucket.org/chromiumembedded/cef/issues/1805/
456
+ for i in range(10):
457
+ CefDoMessageLoopWork()
458
+
459
460
def SetOsModalLoop(py_bool modalLoop):
461
cdef cpp_bool cefModalLoop = bool(modalLoop)
0 commit comments