From: David ‘Bombe’ Roden Date: Wed, 17 Nov 2010 20:02:10 +0000 (+0100) Subject: Lock Sones before starting the rescue. X-Git-Tag: 0.3-RC1~16 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=c8f0cd47aecd77c5aa3c6784bebde9cc47815de8;p=Sone.git Lock Sones before starting the rescue. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 0f95d56..d2c1420 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -712,6 +712,7 @@ public class Core implements IdentityListener { return; } logger.log(Level.INFO, "Trying to restore Sone from Freenet…"); + lockSone(sone); long edition = sone.getLatestEdition(); while (!stopped && (edition >= 0) && isSoneRescueMode()) { logger.log(Level.FINE, "Downloading edition " + edition + "…");