Remove status of deleted Sone.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 27 Oct 2010 16:00:30 +0000 (18:00 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 27 Oct 2010 16:00:30 +0000 (18:00 +0200)
src/main/java/net/pterodactylus/sone/core/Core.java

index 6a2d8a3..aaad177 100644 (file)
@@ -574,6 +574,7 @@ public class Core extends AbstractService {
                SoneInserter soneInserter = soneInserters.remove(sone);
                soneInserter.stop();
                localSones.remove(sone);
+               soneStatuses.remove(sone);
        }
 
        /**