Open jtalborough opened 1 year ago
I'm not sure the GenericQueue will work with the way a queue is being used in this plugin. Currently, the queue isn't being managed on a thread, it's being emptied as responses are received. The GenericQueue is more designed to dequeue something as soon as it's queued, not wait for a response from the device.
Essentials generic Queue contains time tested methods for dealing with crestron queue. This will alleviate blocking issues and exceptions during shutdown caused by the blocking methods CrestronQueue.Enque() and CrestronQueue.Dequeue