From: David ‘Bombe’ Roden Date: Wed, 27 Oct 2010 16:01:03 +0000 (+0200) Subject: Remove delete Sone from Sone cache, too. X-Git-Tag: 0.1-RC1~14 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=73b8d9fa03d043185870eacacbc72aa04d199252;p=Sone.git Remove delete Sone from Sone cache, too. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index aaad177..c3bacac 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -575,6 +575,7 @@ public class Core extends AbstractService { soneInserter.stop(); localSones.remove(sone); soneStatuses.remove(sone); + soneCache.remove(sone.getId()); } /**