Author: toad
Date: 2008-07-28 23:51:47 +0000 (Mon, 28 Jul 2008)
New Revision: 21461
Modified:
branches/db4o/freenet/src/freenet/client/async/InsertCompressor.java
Log:
in fact, we should delete them...
Modified: branches/db4o/freenet/src/freenet/client/async/InsertCompressor.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/InsertCompressor.java
2008-07-28 23:50:25 UTC (rev 21460)
+++ branches/db4o/freenet/src/freenet/client/async/InsertCompressor.java
2008-07-28 23:51:47 UTC (rev 21461)
@@ -61,9 +61,11 @@
return; // Inserter was cancelled, we weren't
told.
} else if(inserter.started()) {
Logger.error(this, "Inserter started already,
but we are about to attempt to compress the data!");
+ container.delete(this);
return; // Already started, no point ... but
this really shouldn't happen.
} else {
Logger.error(this, "Original data was deleted
but inserter neither deleted nor cancelled nor missing!");
+ container.delete(this);
return;
}
}