Skip to content

Commit

Permalink
Test001: close the JobSystem
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jul 8, 2024
1 parent 8cb65e9 commit cd6a63a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/java/testjoltjni/junit/Test001.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit cd6a63a

Please sign in to comment.