Rule of three: if you have three duplicate things, it's best to generalize. You can add: ``` self._disposables = CompositeDisposable() ``` in `__init__` and do `self._disposables.dispose()` here. _Originally posted by @paul-nechifor in https://github.com/dimensionalOS/dimos/pull/1277#discussion_r2842866406_
Rule of three: if you have three duplicate things, it's best to generalize. You can add:
in
__init__and doself._disposables.dispose()here.Originally posted by @paul-nechifor in #1277 (comment)