Author: xor Date: 2009-04-19 01:39:32 +0000 (Sun, 19 Apr 2009) New Revision: 27031
Modified: trunk/freenet/src/freenet/support/TransferThread.java Log: Workaround the following bug, please read it and my comment to it and tell me why it happens, I don't understand how it can happen: https://bugs.freenetproject.org/view.php?id=2993 Modified: trunk/freenet/src/freenet/support/TransferThread.java =================================================================== --- trunk/freenet/src/freenet/support/TransferThread.java 2009-04-19 01:29:37 UTC (rev 27030) +++ trunk/freenet/src/freenet/support/TransferThread.java 2009-04-19 01:39:32 UTC (rev 27031) @@ -89,7 +89,12 @@ } finally { - abortAllTransfers(); + try { + abortAllTransfers(); + } + catch(RuntimeException e) { + Logger.error(this, "SHOULD NOT HAPPEN, please report this exception", e); + } synchronized (this) { shutdownFinished = true; notify(); _______________________________________________ cvs mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
