Skip to content
Snippets Groups Projects
Commit 5c2c0d9e authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony
Browse files

Move location of QApplication construction in mantidqt tests

Storing a reference to the QApplication object globally at
module scope causes the QApplication object to be destroyed
very late in Python's tear down process. This seems to cause
random segfaults with PyQt5 that can be remedied by using
object attributes so that the references are cleaned up much
sooner.
parent d3debe2a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment