mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -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()
|
s = QGISAPP.showSettings()
|
||||||
print(s)
|
print(s)
|
||||||
|
|
||||||
|
import atexit
|
||||||
|
|
||||||
|
@atexit.register
|
||||||
|
def exitQgis():
|
||||||
|
QGISAPP.exitQgis()
|
||||||
|
|
||||||
return QGISAPP
|
return QGISAPP
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user