mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-02-07 03:08:40 +01:00
Merge pull request #255 from tiqi-group/fix/property_observer_race_condition
fix: race-condition in PropertyObserver
This commit is contained in:
@@ -29,6 +29,7 @@ def get_property_dependencies(prop: property, prefix: str = "") -> list[str]:
|
||||
|
||||
class PropertyObserver(Observer):
|
||||
def __init__(self, observable: Observable) -> None:
|
||||
self.property_deps_dict: dict[str, list[str]] = {}
|
||||
super().__init__(observable)
|
||||
self._update_property_deps_dict()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user