Text archives Help
- From: bigler@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r1009 - trunk/SwigInterface
- Date: Fri, 14 Apr 2006 15:42:40 -0600 (MDT)
Author: bigler
Date: Fri Apr 14 15:42:40 2006
New Revision: 1009
Modified:
trunk/SwigInterface/wxManta.py
Log:
Cleanly exit.
Modified: trunk/SwigInterface/wxManta.py
==============================================================================
--- trunk/SwigInterface/wxManta.py (original)
+++ trunk/SwigInterface/wxManta.py Fri Apr 14 15:42:40 2006
@@ -94,6 +94,15 @@
return True
###########################################################################
+ ## onExit (called under normal shutdown)
+
###########################################################################
+ def OnExit(self):
+ print "Exiting the engine"
+ self.engine.finish()
+ self.engine.blockUntilFinished()
+ print "Engine exited"
+
+
###########################################################################
## onMotion
###########################################################################
def onMotion( self, event ):
- [MANTA] r1009 - trunk/SwigInterface, bigler, 04/14/2006
Archive powered by MHonArc 2.6.16.