Author: xor
Date: 2008-11-08 11:25:30 +0000 (Sat, 08 Nov 2008)
New Revision: 23419
Modified:
trunk/plugins/Freetalk/WoT/FTIdentityManagerWoT.java
trunk/plugins/Freetalk/WoT/FTMessageManagerWoT.java
trunk/plugins/WoT/IdentityInserter.java
Log:
Hopefully fix unloading.
Modified: trunk/plugins/Freetalk/WoT/FTIdentityManagerWoT.java
===================================================================
--- trunk/plugins/Freetalk/WoT/FTIdentityManagerWoT.java 2008-11-08
11:21:35 UTC (rev 23418)
+++ trunk/plugins/Freetalk/WoT/FTIdentityManagerWoT.java 2008-11-08
11:25:30 UTC (rev 23419)
@@ -183,7 +183,10 @@
try {
mThread.join();
}
- catch(InterruptedException e) { }
+ catch(InterruptedException e)
+ {
+ Thread.currentThread().interrupt();
+ }
Logger.debug(this, "Stopped the indentity manager.");
}
Modified: trunk/plugins/Freetalk/WoT/FTMessageManagerWoT.java
===================================================================
--- trunk/plugins/Freetalk/WoT/FTMessageManagerWoT.java 2008-11-08 11:21:35 UTC
(rev 23418)
+++ trunk/plugins/Freetalk/WoT/FTMessageManagerWoT.java 2008-11-08 11:25:30 UTC
(rev 23419)
@@ -95,7 +95,10 @@
try {
mThread.join();
}
- catch(InterruptedException e) { }
+ catch(InterruptedException e)
+ {
+ Thread.currentThread().interrupt();
+ }
Logger.debug(this, "Stopped the message manager.");
}
}
Modified: trunk/plugins/WoT/IdentityInserter.java
===================================================================
--- trunk/plugins/WoT/IdentityInserter.java 2008-11-08 11:21:35 UTC (rev
23418)
+++ trunk/plugins/WoT/IdentityInserter.java 2008-11-08 11:25:30 UTC (rev
23419)
@@ -118,7 +118,11 @@
mThread.interrupt();
try {
mThread.join();
- } catch(InterruptedException e) { }
+ }
+ catch(InterruptedException e)
+ {
+ Thread.currentThread().interrupt();
+ }
Logger.debug(this, "Stopped IdentityInserter thread.");
}