I just found out that the included demos do not clean up at exit!
Each demo application has a exitPhysics()-method and/or a destructor, which is never called when exiting an application with the 'q'-button. What the current demos are doing:
Code: Select all
Create *Application instance
Run Application
[color=#FF0000]Exit[/color]
Delete *Application instance
Solutions:
1) Call glutLeaveMainLoop() instead of exit(), however this is not available on old glut implementations. This should really be no problem, most distributions nowadays are using FreeGlut, which has this function.
or
2) If you do not want to go with 1), then please add
Code: Select all
virtual void exitPhysics() {}
I have some more bugs to report, just need to create some clean test cases and investigate some more.
Best regards,
Enrico
PS: Why don't you use the sf.net Bug Tracker?