taurus-org / taurus

Moved to https://gitlab.com/taurus-org/taurus
http://taurus-scada.org
43 stars 46 forks source link

Fix #1113 (TangoAttribute not reenabling polling) #1122

Closed cpascual closed 4 years ago

cpascual commented 4 years ago

TangoAttribute calls .disablePolling() when unsubscribing from Change events (this happens automatically e.g. when removing its last listener). This is problematic because it permanently disables the polling (e.g. it won't e re-activated if a listener is lately added to the same attribute). Prevent this by "deactivating" instead of "disabling" the polling.

Fixes #1113