Permalink
Browse files

Fix memory leak in test

  • Loading branch information...
markelog committed Sep 22, 2011
1 parent 253e8c7 commit faafd798db386703a06bb9c32c2342f47b93f544
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/unit/queue.js
View
@@ -112,6 +112,7 @@ test("callbacks keep their place in the queue", function() {
div.promise("fx").done(function() {
equals(counter, 4, "Deferreds resolved");
start();
+ div.remove();
});
});

0 comments on commit faafd79

Please sign in to comment.