mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-28 08:30:08 +07:00
Deferred disposing to Disposable interface
This commit is contained in:
parent
24b6a9d3ed
commit
266eca76ce
@ -62,7 +62,7 @@ public class Box2DPhysicsSystem extends IntervalIteratingSystem implements Entit
|
||||
public void removedFromEngine(Engine engine) {
|
||||
super.removedFromEngine(engine);
|
||||
engine.removeEntityListener(this);
|
||||
world.dispose();
|
||||
dispose();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user