Skip to content

Commit 13a3103

Browse files
CzarekCzarek
authored andcommitted
Updated wxpython.py for 32bit.
1 parent 65982d8 commit 13a3103

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

cefpython/cef3/mac/binaries_32bit/wxpython.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -191,14 +191,6 @@ def CreateMenu(self):
191191
self.SetMenuBar(menubar)
192192

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

0 commit comments

Comments
 (0)