Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[qt.py] [PySide] Process sometimes hangs when exiting app #360

Closed
cztomczak opened this issue May 3, 2017 · 3 comments
Closed

[qt.py] [PySide] Process sometimes hangs when exiting app #360

cztomczak opened this issue May 3, 2017 · 3 comments

Comments

@cztomczak
Copy link
Owner

Problem occurs on both Windows and Mac in the qt.py example running with PySide 1.2. Process hangs when quitting app. This needs further debugging to figure out what call is causing the issue - whether it is cef.Shutdown.

Issue on Windows reported on the Forum ("python.exe" has stopped working):
https://groups.google.com/d/topic/cefpython/PPPqWlRGx-8/discussion

@raphaelm
Copy link

raphaelm commented Jun 7, 2017

self.setAttribute(Qt.WA_DeleteOnClose, True) in the __init__ method of the window seems to help

@cztomczak
Copy link
Owner Author

@raphaelm That makes sense when you take into consideration comment in the qt.py example which says that "app" object must be destroyed before calling cef.Shutdown. So windows objects should be destroyed as well.

@cztomczak cztomczak changed the title PySide example: Process sometimes hangs when exiting app [qt.py] [PySide] Process sometimes hangs when exiting app Aug 23, 2017
Jack-2025 added a commit to Jack-2025/cefpython that referenced this issue Feb 18, 2018
cztomczak added a commit that referenced this issue Feb 18, 2018
Fix crash on exit in PySide example (#360)
@cztomczak
Copy link
Owner Author

Fixed in PR #409.

@cztomczak cztomczak added this to the v66 milestone May 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants