mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-05 01:38:23 +02:00
[tests] ui_graph: delete graph object
unparented QObject with no QApplication causes crash after test execution if not explicitly deleted
This commit is contained in:
parent
f87907ded2
commit
c23ec5376b
1 changed files with 3 additions and 0 deletions
|
@ -32,3 +32,6 @@ def test_duplicate_nodes():
|
|||
assert nMap[n2].input.getLinkParam() == nMap[n1].output
|
||||
assert nMap[n3].input.getLinkParam() == nMap[n1].output
|
||||
assert nMap[n3].input2.getLinkParam() == nMap[n2].output
|
||||
|
||||
# ensure de-allocation order for un-parented UIGraph (QObject) with no QApplication instance
|
||||
g.deleteLater()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue