lewisje / renderengine

Automatically exported from code.google.com/p/renderengine
MIT License
0 stars 0 forks source link

calling Engine.shutdown() at game with physics -> error #56

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. call Engine.shutdown() in any game with physics (like the physics demo)
2. You will get following error:

Uncaught TypeError: Cannot call method 'DestroyBody' of null
Simulation.BaseObject.extend.removeBodyphysics.simulation.js:142
PhysicsActor.Object2D.extend.destroyobject.physicsactor.js:90
cbase.js:2
Container.BaseObject.extend.cleanUpengine.container.js:618
RenderContext.Container.extend.destroyengine.rendercontext.js:101
cbase.js:2
Container.BaseObject.extend.cleanUpengine.container.js:618
RenderContext.Container.extend.destroyengine.rendercontext.js:101
cbase.js:2
HTMLElementContext.RenderContext2D.extend.destroycontext.htmlelement.js:90
cbase.js:2
Engine.Base.extend.shutdownengine.js:2801
lastMetricSampleengine.js:3893
c.event.handlejquery.js:55
c.event.add.j.handle.ojquery.js:49

What version of the product are you using? On what operating system?
RE 1.5.3 with chrome on Win7 64bit

Original issue reported on code.google.com by webidor...@gmail.com on 17 Jan 2011 at 4:55

GoogleCodeExporter commented 8 years ago

Original comment by bfatt...@gmail.com on 24 Jan 2011 at 2:29