Skip to content

Commit 0bacfca

Browse files
CzarekCzarek
authored andcommitted
Merge remote-tracking branch 'origin/master'
2 parents 15dc574 + 7b35ec0 commit 0bacfca

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

cefpython/cef3/windows/binaries/wxpython.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -211,14 +211,6 @@ def OnSize(self, event):
211211
cefpython.WindowUtils.OnSize(self.GetHandleForBrowser(), 0, 0, 0)
212212

213213
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-
222214
# Remove all CEF browser references so that browser is closed
223215
# cleanly. Otherwise there may be issues for example with cookies
224216
# not being flushed to disk when closing app immediately

0 commit comments

Comments
 (0)