summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-07-19 01:27:56 +0200
committersnowleo <schneeleo@gmail.com>2011-07-19 01:27:56 +0200
commitd388290427f8d16dd6418bdcea9badfff2461ec3 (patch)
tree33a2745a28f71b33cc914c4b1f75bdd710f317d3
parentc8ba06f0ee55abf09a0ab0968945cb9ab1f52a21 (diff)
downloadEssentials-d388290427f8d16dd6418bdcea9badfff2461ec3.tar
Essentials-d388290427f8d16dd6418bdcea9badfff2461ec3.tar.gz
Essentials-d388290427f8d16dd6418bdcea9badfff2461ec3.tar.lz
Essentials-d388290427f8d16dd6418bdcea9badfff2461ec3.tar.xz
Essentials-d388290427f8d16dd6418bdcea9badfff2461ec3.zip
user.dispose() should be called on every quit.
-rw-r--r--Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java
index f539227f0..36654b91f 100644
--- a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java
+++ b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java
@@ -215,11 +215,11 @@ public class EssentialsPlayerListener extends PlayerListener
user.getInventory().setContents(user.getSavedInventory());
user.setSavedInventory(null);
}
+ user.dispose();
if (!ess.getSettings().getReclaimSetting())
{
return;
}
- user.dispose();
final Thread thread = new Thread(new Runnable()
{
public void run()