Protect the controller and servos from their listeners
climategadgets opened this issue · comments
Vadim Tkachenko commented
Current implementation of silentStatusChanged()
(in the controller and the servo),exception()
(in the controller and the servo), positionChanged() and actualPositionChanged() allows the listeners to sabotage the servo by either throwing an exception or getting stuck. Need to fire a set of messengers to all listeners and notify them asynchronously, in correct order. Further need to protect the messenger queue from a listener getting stuck, and log a message about that.