Author: bombe
Date: 2006-07-25 17:27:03 +0000 (Tue, 25 Jul 2006)
New Revision: 9755
Modified:
trunk/freenet/src/freenet/io/NetworkInterface.java
Log:
correct synchronization
Modified: trunk/freenet/src/freenet/io/NetworkInterface.java
===================================================================
--- trunk/freenet/src/freenet/io/NetworkInterface.java 2006-07-25 17:23:42 UTC
(rev 9754)
+++ trunk/freenet/src/freenet/io/NetworkInterface.java 2006-07-25 17:27:03 UTC
(rev 9755)
@@ -102,8 +102,8 @@
/* swallow exception. */
}
}
- while (runningAcceptors > 0) {
- synchronized (syncObject) {
+ synchronized (syncObject) {
+ while (runningAcceptors > 0) {
try {
syncObject.wait();
} catch (InterruptedException e) {