Commit 75e3b7e5 by eric pellegrini

Merge branch 'bugfix-vtk_viewer_error_message' into 'develop'

Modifying pluging MolecularViewerPlugin to unsubscribe from publisher on instance destruction See merge request !12
parents c4372d57 de4fdd94
Pipeline #3833 passed with stages
in 16 minutes 26 seconds
......@@ -273,6 +273,8 @@ class MolecularViewerPlugin(ComponentPlugin):
self.clear_universe()
def __del__(self):
PUBLISHER.unsubscribe(self.msg_set_selection, "msg_set_selection")
PUBLISHER.unsubscribe(self.msg_switch_viewers_state, "msg_switch_viewers_state")
PUBLISHER.unsubscribe(self.msg_clear_selection,'msg_clear_selection')
......
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