Remove delete Sone from Sone cache, too.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 27 Oct 2010 16:01:03 +0000 (18:01 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 27 Oct 2010 16:01:03 +0000 (18:01 +0200)
src/main/java/net/pterodactylus/sone/core/Core.java

index aaad177..c3bacac 100644 (file)
@@ -575,6 +575,7 @@ public class Core extends AbstractService {
                soneInserter.stop();
                localSones.remove(sone);
                soneStatuses.remove(sone);
+               soneCache.remove(sone.getId());
        }
 
        /**