diff options
Diffstat (limited to 'examples/quick3d/customgeometry/main.py')
| -rw-r--r-- | examples/quick3d/customgeometry/main.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/quick3d/customgeometry/main.py b/examples/quick3d/customgeometry/main.py index 985943208..bff6b4a95 100644 --- a/examples/quick3d/customgeometry/main.py +++ b/examples/quick3d/customgeometry/main.py @@ -27,4 +27,6 @@ if __name__ == "__main__": if not engine.rootObjects(): sys.exit(-1) - sys.exit(app.exec()) + exit_code = app.exec() + del engine + sys.exit(exit_code) |
