vancegroup / vr-jugglua

VR JuggLua: A Framework for VR Applications Combining Lua, OpenSceneGraph, and VR Juggler
Boost Software License 1.0
11 stars 12 forks source link

Add Shutdown Method #92

Closed carlsonp closed 11 years ago

carlsonp commented 12 years ago

Right now, it appears the only way to shutdown the application is via the File -> Exit menu. Similar to Sparta, it would be nice to have a shutdown() method bound in Lua that allows us to shutdown at any time.

rpavlik commented 12 years ago

Something like vrjKernel.stop() or vrjKernel.shutdown() should do the trick, but I agree that a simpler shutdown() method would be nice.

carlsonp commented 12 years ago

shutdown doesn't seem to exist. stop works though.

rpavlik commented 11 years ago

And, os.exit is now replaced by vrjKernel.stop once you start the kernel frameloop.