Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: python quit


Chronological Thread 
  • From: Abe Stephens < >
  • To:
  • Cc:
  • Subject: [Manta] Re: python quit
  • Date: Thu, 18 Dec 2008 23:02:25 -0700

Does app.MainLoop() return? It might be the case that other threads are stuck waiting at conditionals or barriers, maybe related to handing off the frame?

Check with gdb.

Abe


On Dec 18, 2008, at 3:18 PM, Carson Brownlee wrote:

I have a custom wxpython manta scene and am just trying to quit. I can
close all the windows and shutdown the manta engine but the program is
still running.  sys.exit() also just stalls.

here's my code:

   ################ Quit #################
   def MenuQuit(self, e):
       self.Close()

   ################ OnCloseWindow #################
   def OnCloseWindow(self, evt):
       self.scene.mantaApp.frame.ShutdownEngine()
       self.scene.mantaApp.frame.Destroy()
       self.Destroy()

wxManta.py doesn't seem to do anything else.  Is there something that
I'm missing that I should be closing?

thanks,
Carson




  • [Manta] python quit, Carson Brownlee, 12/18/2008
    • [Manta] Re: python quit, Abe Stephens, 12/18/2008

Archive powered by MHonArc 2.6.16.

Top of page