diff --git a/src/test/java/testjoltjni/junit/Test001.java b/src/test/java/testjoltjni/junit/Test001.java index d61d6f4f..9c087e38 100644 --- a/src/test/java/testjoltjni/junit/Test001.java +++ b/src/test/java/testjoltjni/junit/Test001.java @@ -155,6 +155,8 @@ public void test001() { ballVelocity = bodyInterface.getLinearVelocity(ballId); Utils.assertEquals(0f, 0f, 0f, ballVelocity, 1e-5f); + jobSystem.close(); + bodyInterface.removeBody(ballId); bodyInterface.destroyBody(ballId);