Skip to content

Do not keep a device alive just because an attribute is polled

Carlos Falcon requested to merge github/fork/cmft/bug-999 into develop

The TaurusPollingTimer keeps device strong references for creating the weakref dictionary of polled attributes. The removeAttribute does not cleanup the structures and many of TaurusPollingTimer methods are not thread-safe.

Fix removeAttribute implementation to delete unreferenced elements. Protect the methods using the lock or making copy of the iterated containers.

Fix #999 (closed)

Merge request reports

Loading