Author: toad
Date: 2009-02-18 20:02:07 +0000 (Wed, 18 Feb 2009)
New Revision: 25708

Modified:
   branches/db4o/freenet/src/freenet/node/fcp/GetFailedMessage.java
Log:
Activate before deleting


Modified: branches/db4o/freenet/src/freenet/node/fcp/GetFailedMessage.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/fcp/GetFailedMessage.java    
2009-02-18 20:01:11 UTC (rev 25707)
+++ branches/db4o/freenet/src/freenet/node/fcp/GetFailedMessage.java    
2009-02-18 20:02:07 UTC (rev 25708)
@@ -140,10 +140,14 @@
        }
 
        public void removeFrom(ObjectContainer container) {
-               if(redirectURI != null)
+               if(redirectURI != null) {
+                       container.activate(redirectURI, 5);
                        redirectURI.removeFrom(container); // URI belongs to 
the parent which is also being removed.
-               if(tracker != null)
+               }
+               if(tracker != null) {
+                       container.activate(tracker, 5);
                        tracker.removeFrom(container);
+               }
                container.delete(this);
        }
 

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to