MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / on_unmount

Method on_unmount

src/python/lfs_plugins/scripts_panel.py:66–69  ·  view source on GitHub ↗
(self, doc)

Source from the content-addressed store, hash-verified

64 return self._refresh_scripts(force=False)
65
66 def on_unmount(self, doc):
67 self._unsubscribe_reactive_state()
68 doc.remove_data_model("scripts_panel")
69 self._handle = None
70
71 def _subscribe_reactive_state(self):
72 if self._reactive_unsubscribers:

Callers

nothing calls this directly

Calls 2

remove_data_modelMethod · 0.45

Tested by

no test coverage detected