Skip to content

Commit a917bdd

Browse files
committed
Fixed global exception hook being set when calling
wx.chromectrl.Initialize(). User should explicitily set such global exception hooks.
1 parent 39881e7 commit a917bdd

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

cefpython/cef3/wx-subpackage/chromectrl.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#--------------------------------------------------------------------------------
55

66
from cefpython3 import cefpython
7-
from cefpython3.wx.utils import ExceptHook
87
import os, sys, platform
98
import wx
109
import wx.lib.buttons as buttons
@@ -328,7 +327,6 @@ def Initialize(settings=None, debug=False):
328327
"""Initializes CEF, We should do it before initializing wx
329328
If no settings passed a default is used
330329
"""
331-
sys.excepthook = ExceptHook
332330
if not settings:
333331
settings = {}
334332
if not "log_severity" in settings:

0 commit comments

Comments
 (0)