Skip to content

Commit

Permalink
fix ropejoint pool leak bug
Browse files Browse the repository at this point in the history
  • Loading branch information
filiph committed Dec 5, 2017
1 parent 64ec590 commit fcfd5b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/dynamics/joints/rope_joint.dart
Expand Up @@ -125,6 +125,8 @@ class RopeJoint extends Joint {
_u.setZero();
_mass = 0.0;
_impulse = 0.0;
pool.pushRot(2);
pool.pushVec2(1);
return;
}

Expand Down

0 comments on commit fcfd5b5

Please sign in to comment.