StartLiveData sometimes ignores Listener Properties #20489
Labels
Bug
Issues and pull requests that are regressions or would be considered a bug by users (e.g. crashing)
Milestone
PR #17926 makes it possible to pass Listener Properties as arguments when calling
StartLiveData
from Python.However, under some circumstances, those arguments may be ignored and the properties are treated as if they have their default values. This only affect properties "pulled in" from the specific Listener being used, not properties that are part of
StartLiveData
itself.This happens because Listener Properties are reset / reloaded whenever the
Instrument
,Listener
orConnection
property ofStartLiveData
changes.Instrument
is treated as a special case, so that never causes this problem. But ifListener
orConnection
has been passed in as an argument, it's down to luck / Pythondict
order whether Listener Properties are reset before (OK) or after they are set (which destroys the value).The text was updated successfully, but these errors were encountered: