[freenet-cvs] r12184 - trunk/freenet/src/freenet/io/xfer
nextgens at freenetproject.org
nextgens at freenetproject.org
Sat Mar 17 14:49:44 UTC 2007
Author: nextgens
Date: 2007-03-17 14:49:27 +0000 (Sat, 17 Mar 2007)
New Revision: 12184
Modified:
trunk/freenet/src/freenet/io/xfer/BlockTransmitter.java
Log:
Prevent an IllegalStateException from beeing thrown
Modified: trunk/freenet/src/freenet/io/xfer/BlockTransmitter.java
===================================================================
--- trunk/freenet/src/freenet/io/xfer/BlockTransmitter.java 2007-03-17 14:47:47 UTC (rev 12183)
+++ trunk/freenet/src/freenet/io/xfer/BlockTransmitter.java 2007-03-17 14:49:27 UTC (rev 12184)
@@ -212,7 +212,9 @@
if (_prb.isAborted()) {
synchronized(_senderThread) {
_sendComplete = true;
- _senderThread.notifyAll();
+ synchronized (this) {
+ _senderThread.notifyAll();
+ }
}
return false;
}
More information about the cvs
mailing list