Skip to content
Permalink
Browse files

Cleanup test application on exit

  • Loading branch information
m-kuhn committed Apr 14, 2016
1 parent 2e515a2 commit 709d3cedd003a323d18a311c47f003ef50014f4f
Showing with 6 additions and 0 deletions.
  1. +6 −0 python/testing/__init__.py
@@ -261,6 +261,12 @@ def start_app():
s = QGISAPP.showSettings()
print(s)

import atexit

@atexit.register
def exitQgis():
QGISAPP.exitQgis()

return QGISAPP


0 comments on commit 709d3ce

Please sign in to comment.
You can’t perform that action at this time.