mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Unregister should remove the node from the cache as well.
This commit is contained in:
parent
3fc03d2fa5
commit
50c8cfaf26
@ -217,6 +217,8 @@ class Group(object):
|
||||
node = self.children[name]
|
||||
del self.children[name]
|
||||
self.added.remove(name)
|
||||
if node._name in _cache:
|
||||
del _cache[node._name]
|
||||
return node
|
||||
except KeyError:
|
||||
self.__nonExistentEntry(name)
|
||||
|
Loading…
Reference in New Issue
Block a user