tiqi-group / pydase

A Python library for creating remote control interfaces of Python objects.
https://pydase.readthedocs.io
MIT License
1 stars 1 forks source link

fix: defining task without autostart fails #159

Closed mosmuell closed 1 week ago

mosmuell commented 1 week ago

Fixes #158.

Tasks that had autostart=False or were already running were passed to autostart_nested_services. This caused the recursion, as tasks have a __self__ attribute pointing to the containing service.