NTCP: Stop X25519KeyFactory on shutdown (ticket #2388)

This commit is contained in:
zzz
2019-01-18 12:15:43 +00:00
parent b4e2619c3b
commit 344c812666
3 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2019-01-18 zzz
* NTCP: Stop X25519KeyFactory on shutdown (ticket #2388)
* Plugins: Fix loading of webapp configuration classes (ticket #2385)
2019-01-15 zzz

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 18;
public final static long BUILD = 19;
/** for example "-test" */
public final static String EXTRA = "-rc";

View File

@ -378,6 +378,8 @@ public class TransportManager implements TransportEventListener {
synchronized void shutdown() {
stopListening();
_dhThread.shutdown();
if (_xdhThread != null)
_xdhThread.shutdown();
Addresses.clearCaches();
TransportImpl.clearCaches();
}