summaryrefslogtreecommitdiffstats
path: root/ds9/library
diff options
context:
space:
mode:
Diffstat (limited to 'ds9/library')
-rw-r--r--ds9/library/util.tcl8
1 files changed, 8 insertions, 0 deletions
diff --git a/ds9/library/util.tcl b/ds9/library/util.tcl
index caf0d89..f11dbf0 100644
--- a/ds9/library/util.tcl
+++ b/ds9/library/util.tcl
@@ -898,6 +898,14 @@ proc QuitDS9 {} {
}
}
+ # delete frames
+ # may have regions with plot windows
+ DeleteAllFrames
+
+ # make sure everybody has had a chance to shut down properly
+ update
+
+ # and we are done
focus {}
exit
}