[core] plugins: Reassign plugin to nodeDescriptor when reloading NodePlugin

Otherwise, `node.nodeDesc.plugin` will evaluate to `None` after the node
has been reloaded.
This commit is contained in:
Candice Bentéjac 2025-06-18 15:53:21 +02:00
parent ccf82d0f18
commit 923be8dc11

View file

@ -362,6 +362,7 @@ class NodePlugin(BaseObject):
return False
self.nodeDescriptor = descriptor
self.nodeDescriptor.plugin = self
self._timestamp = timestamp
self.status = NodePluginStatus.NOT_LOADED
logging.info(f"[Reload] {self.nodeDescriptor.__name__}: Successful reloading.")