Skip to content

Commit

Permalink
Merge pull request #1440 from benjchristensen/issue-1292
Browse files Browse the repository at this point in the history
Micro-optimization by nulling out list
  • Loading branch information
benjchristensen committed Jul 14, 2014
2 parents 5e6069e + cabcf01 commit 8d9ca3f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public void unsubscribe() {
}
// we will only get here once
unsubscribeFromAll(subscriptions);
subscriptions = null;
}

private static void unsubscribeFromAll(Collection<Subscription> subscriptions) {
Expand Down

0 comments on commit 8d9ca3f

Please sign in to comment.