Skip to content

Commit 142df92

Browse files
CzarekCzarek
authored andcommitted
Merge remote-tracking branch 'origin/master'
2 parents 1b38ace + 6b62932 commit 142df92

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cefpython/cef3/wx-subpackage/chromectrl.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ def __init__(self, parent, url="", useTimer=True,
132132
size=(-1, -1), *args, **kwargs):
133133
wx.Window.__init__(self, parent, id=wx.ID_ANY, size=size,
134134
*args, **kwargs)
135+
136+
# This timer is not used anymore, but creating it for backwards
137+
# compatibility. In one of external projects ChromeWindow.timer.Stop()
138+
# is being called during browser destruction.
139+
self.timer = wx.Timer()
140+
135141
# On Linux absolute file urls need to start with "file://"
136142
# otherwise a path of "/home/some" is converted to "http://home/some".
137143
if platform.system() == "Linux":

0 commit comments

Comments
 (0)