Commit de4fdd94 authored by Remi Perenon's avatar Remi Perenon
Browse files

Modifying pluging MolecularViewerPlugin to unsubscribe from publisher on instance destruction

parent 8235f09d
Pipeline #3830 passed with stages
in 12 minutes and 53 seconds
......@@ -273,6 +273,8 @@ class MolecularViewerPlugin(ComponentPlugin):
def __del__(self):
PUBLISHER.unsubscribe(self.msg_set_selection, "msg_set_selection")
PUBLISHER.unsubscribe(self.msg_switch_viewers_state, "msg_switch_viewers_state")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment