summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-08-12 15:33:32 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-08-12 15:33:32 (GMT)
commit693ba155d9806d153bfbc94019378ee7e66b287d (patch)
tree24dde63d16900693568f7232456e298dae1c6efa
parenta757cc7fa44d5093083af8f22962aa068b352ee9 (diff)
downloadblt-693ba155d9806d153bfbc94019378ee7e66b287d.zip
blt-693ba155d9806d153bfbc94019378ee7e66b287d.tar.gz
blt-693ba155d9806d153bfbc94019378ee7e66b287d.tar.bz2
simplify code
-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
}