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 f77161a + d6b0bca commit 851a587Copy full SHA for 851a587
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