Fixed memory leak for instances

This commit is contained in:
2025-11-24 21:00:04 +01:00
parent bb8752233e
commit 84c63f0c5a
7 changed files with 48 additions and 25 deletions

View File

@@ -84,7 +84,8 @@ class TabsManager(MultipleInstance):
self._search = Search(self,
items=self._get_tab_list(),
get_attr=lambda x: x["label"],
template=self._mk_tab_button)
template=self._mk_tab_button,
_id="-search")
logger.debug(f"TabsManager created with id: {self._id}")
logger.debug(f" tabs : {self._get_ordered_tabs()}")
logger.debug(f" active tab : {self._state.active_tab}")