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.
2 parents 3b5eb70 + 851a587 commit c03ca93Copy full SHA for c03ca93
examples/qt.py
@@ -108,6 +108,9 @@ class MainWindow(QMainWindow):
108
def __init__(self):
109
# noinspection PyArgumentList
110
super(MainWindow, self).__init__(None)
111
+ # Avoids crash when shutting down CEF (issue #360)
112
+ if PYSIDE:
113
+ self.setAttribute(Qt.WA_DeleteOnClose, True)
114
self.cef_widget = None
115
self.navigation_bar = None
116
if PYQT4:
0 commit comments