JuanCarlosAragon / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Proper context cleanup on crash #346

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Throw exception while running in the render thread

What is the expected output? What do you see instead?
First of all, you may receive an OpenAL native error because the context was 
not cleaned up correctly. 2nd, the render context might have also not been 
uninitialized.
Perhaps a "context.cleanup()" method is needed in-cases when the context was 
not shutdown correctly. (To be called in context.stop() if it detects the 
context thread is already killed?)

Original issue reported on code.google.com by ShadowIs...@gmail.com on 4 May 2011 at 3:34

GoogleCodeExporter commented 8 years ago

Original comment by ShadowIs...@gmail.com on 6 Sep 2012 at 8:39