We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65982d8 commit 13a3103Copy full SHA for 13a3103
cefpython/cef3/mac/binaries_32bit/wxpython.py
@@ -191,14 +191,6 @@ def CreateMenu(self):
191
self.SetMenuBar(menubar)
192
193
def OnClose(self, event):
194
- # Calling CloseBrowser will cause that OnClose event occurs again,
195
- # so self.browser must be checked if non-empty.
196
- if not self.browser:
197
- return
198
-
199
- self.browser.StopLoad()
200
- self.browser.CloseBrowser()
201
202
# Remove all CEF browser references so that browser is closed
203
# cleanly. Otherwise there may be issues for example with cookies
204
# not being flushed to disk when closing app immediately
0 commit comments