Skip to content

Conversation

@chrisjbillington
Copy link
Member

Instead of creating a new one unconditionally. The splash screen already
creates a QApplication, so we had two existing in the interpreter.
Having multiple QApplications in the same thread (possibly in the same
process?) is not allowed and leads to segfaults on PyQt5 and Python
exceptions on PySide2.

Fixes #74

Instead of creating a new one unconditionally. The splash screen already
creates a `QApplication`, so we had two existing in the interpreter.
Having multiple `QApplication`s in the same thread (possibly in the same
process?) is not allowed and leads to segfaults on `PyQt5` and Python
exceptions on `PySide2`.

Fixes labscript-suite#74
@chrisjbillington chrisjbillington merged commit 7653b59 into labscript-suite:master May 14, 2020
@chrisjbillington chrisjbillington deleted the only-one-qapplication branch May 14, 2020 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

segfault during exit

2 participants