Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c03ca93

Browse filesBrowse files
committed
Merge branch 'master' of https://github.com/cztomczak/cefpython
2 parents 3b5eb70 + 851a587 commit c03ca93
Copy full SHA for c03ca93

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Open diff view settings
Collapse file

‎examples/qt.py‎

Copy file name to clipboardExpand all lines: examples/qt.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ class MainWindow(QMainWindow):
108108
def __init__(self):
109109
# noinspection PyArgumentList
110110
super(MainWindow, self).__init__(None)
111+
# Avoids crash when shutting down CEF (issue #360)
112+
if PYSIDE:
113+
self.setAttribute(Qt.WA_DeleteOnClose, True)
111114
self.cef_widget = None
112115
self.navigation_bar = None
113116
if PYQT4:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.