We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 15dc574 + 7b35ec0 commit 0bacfcaCopy full SHA for 0bacfca
1 file changed
cefpython/cef3/windows/binaries/wxpython.py
@@ -211,14 +211,6 @@ def OnSize(self, event):
211
cefpython.WindowUtils.OnSize(self.GetHandleForBrowser(), 0, 0, 0)
212
213
def OnClose(self, event):
214
- # Calling CloseBrowser will cause that OnClose event occurs again,
215
- # so self.browser must be checked if non-empty.
216
- if not self.browser:
217
- return
218
-
219
- self.browser.StopLoad()
220
- self.browser.CloseBrowser()
221
222
# Remove all CEF browser references so that browser is closed
223
# cleanly. Otherwise there may be issues for example with cookies
224
# not being flushed to disk when closing app immediately
0 commit comments