mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +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]
|
node = self.children[name]
|
||||||
del self.children[name]
|
del self.children[name]
|
||||||
self.added.remove(name)
|
self.added.remove(name)
|
||||||
|
if node._name in _cache:
|
||||||
|
del _cache[node._name]
|
||||||
return node
|
return node
|
||||||
except KeyError:
|
except KeyError:
|
||||||
self.__nonExistentEntry(name)
|
self.__nonExistentEntry(name)
|
||||||
|
Loading…
Reference in New Issue
Block a user