Skip to content
Browse files

clear mbox entry on get - help gc

  • Loading branch information...
1 parent 6b30eb0 commit 14eb6e792003c9e69d7862761b50391da0a8964c @krestenkrab committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/kilim/Mailbox.java
View
2 src/kilim/Mailbox.java
@@ -77,7 +77,7 @@ public T get(EventSubscriber eo) {
int n = numMsgs;
if (n > 0) {
int ic = icons;
- msg = msgs[ic];
+ msg = msgs[ic]; msgs[ic]=null;
icons = (ic + 1) % msgs.length;
numMsgs = n - 1;

0 comments on commit 14eb6e7

Please sign in to comment.
Something went wrong with that request. Please try again.