mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Cleanup test application on exit
This commit is contained in:
parent
2e515a2ccc
commit
709d3cedd0
@ -261,6 +261,12 @@ def start_app():
|
||||
s = QGISAPP.showSettings()
|
||||
print(s)
|
||||
|
||||
import atexit
|
||||
|
||||
@atexit.register
|
||||
def exitQgis():
|
||||
QGISAPP.exitQgis()
|
||||
|
||||
return QGISAPP
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user