Env3d halt & exit

1 reply [Last post]
Offline
Joined: 01/20/2013

 Hi all,
I've some question about the env3d,
  1 -  What's the way to halt the environment thread ?
  2 - What's the way to exit environment without exiting main thread ?  
      I try the method .finish() & .cleanup() but that's throw me exception ...

Someone could help me ?
Thanks in advance.

Offline
Joined: 12/13/2010
When you said "halt" the

When you said "halt" the environment, do you mean pausing it?  Or completely exit it?  Do you plan to restart the thread at some point?

 

env.exit() will kill the main thread.  If you have other threads running still, you can simply break out  of the main loop.

 

Jason