From 07245866bb0059ca4fbbdca746b67403d16cca6f Mon Sep 17 00:00:00 2001 From: romanman Date: Thu, 23 Oct 2014 15:50:33 -0500 Subject: [PATCH] memory leak fix --- ethereumj-core/src/main/java/org/ethereum/net/MessageQueue.java | 1 + 1 file changed, 1 insertion(+) diff --git a/ethereumj-core/src/main/java/org/ethereum/net/MessageQueue.java b/ethereumj-core/src/main/java/org/ethereum/net/MessageQueue.java index fb7193dd..ae09969f 100644 --- a/ethereumj-core/src/main/java/org/ethereum/net/MessageQueue.java +++ b/ethereumj-core/src/main/java/org/ethereum/net/MessageQueue.java @@ -99,6 +99,7 @@ public class MessageQueue { } public void close(){ + timer.cancel(); timer.purge(); } }