Skip to content

Commit 1705884

Browse files
CzarekCzarek
authored andcommitted
Removed a call to Unbind() in the cefpython.wx subpackage, as this was
causing an error on Windows 8.
1 parent 96f1d45 commit 1705884

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cefpython/cef1/wx-subpackage/chromectrl.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@ def __del__(self):
134134
'''cleanup stuff'''
135135
if self._useTimer:
136136
self.timer.Stop()
137-
else:
138-
self.Unbind(wx.EVT_IDLE)
137+
# Calling Unbind() is unnecessary and will cause problems on Windows 8, see:
138+
# https://groups.google.com/d/topic/cefpython/iXE7e1ekArI/discussion
139+
# | self.Unbind(wx.EVT_IDLE)
139140
self.browser.CloseBrowser()
140141

141142
def _CreateTimer(self, millis):

0 commit comments

Comments
 (0)