2005-12-16 jrandom

* Moved I2PSnark from using Threads to I2PThreads, so we handle OOMs
      properly (thanks Complication!)
    * More guards in I2PSnark for zany behavior (I2PSession recon w/ skew,
      b0rking in the DirMonitor, etc)
This commit is contained in:
jrandom
2005-12-16 23:18:56 +00:00
committed by zzz
parent 6f424fa751
commit 7d234b1978
8 changed files with 47 additions and 12 deletions

View File

@@ -22,10 +22,12 @@ package org.klomp.snark;
import java.io.IOException;
import net.i2p.util.I2PThread;
/**
* Makes sure everything ends correctly when shutting down.
*/
public class SnarkShutdown extends Thread
public class SnarkShutdown extends I2PThread
{
private final Storage storage;
private final PeerCoordinator coordinator;