From c8f0cd47aecd77c5aa3c6784bebde9cc47815de8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 17 Nov 2010 21:02:10 +0100 Subject: [PATCH] Lock Sones before starting the rescue. --- src/main/java/net/pterodactylus/sone/core/Core.java | 1 + 1 file changed, 1 insertion(+) 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 + "…"); -- 2.7.4