*) next try todo a bugfix

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1475 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 19 years ago
parent 6da97bd2e4
commit d9fbad71b9

@ -859,7 +859,11 @@ public final class plasmaCrawlStacker {
plasmaCrawlStacker.this.theWorkerPool.returnObject(this);
// We are waiting for a new task now.
synchronized (this) { this.wait(); }
synchronized (this) {
if (!this.stopped && !this.destroyed && !this.isInterrupted()) {
this.wait();
}
}
} else {
try {
// executing the new task

Loading…
Cancel
Save