Open ZLLentz opened 2 years ago
Currently there's a much-repeated pattern in this repository where we create a pydm channel, connect it, and set it to be cleared when the containing widget is destroyed.
This should be consolidated into a re-usable function, either specifically here or in a shared utilities repository. Conversation here: https://github.com/pcdshub/pmps-ui/pull/53#discussion_r747721641
Currently there's a much-repeated pattern in this repository where we create a pydm channel, connect it, and set it to be cleared when the containing widget is destroyed.
This should be consolidated into a re-usable function, either specifically here or in a shared utilities repository. Conversation here: https://github.com/pcdshub/pmps-ui/pull/53#discussion_r747721641