def _local_teardown(self): from mpx.lib._singleton import _ReloadableSingleton self.del_node_tree() _ReloadableSingleton.singleton_unload_all() return
def unload_reloadable_singletons(): from mpx.lib._singleton import _ReloadableSingleton _ReloadableSingleton.singleton_set_loadable_state_all(False) _ReloadableSingleton.singleton_unload_all() return