I wonder how to close Irrlicht without using the while( device.Run() ) method, because if I use device.CloseDevice() the window disappears but the process remains. Here is the code I'm using:
Code: Select all
case KeyCode.KEY_ESCAPE:
VideoManager.GetSingleton().Device.CloseDevice();
GameEngine.GetSingleton().Running=false;
GC.Collect();
- Martin