Closed MercyPillow closed 2 months ago
Changed CloseSubscribeChannel and ClosePublishChannel to not remove the networkAddress channel key from the dictionary
// removed while (!channels.TryRemove(key, out channel)) Task.Yield();
// replaced channel = channels[key];
this allows one to add multiple subscription channels for one URI AND then remove them.
//re-added // only when 'List<>'channel.channels is empty while (!channels.TryRemove(key, out channel)) Task.Yield();
issue existing since 2021 see: https://github.com/IPCConnectedFactoryExchange/CFX/issues/116
Changed CloseSubscribeChannel and ClosePublishChannel to not remove the networkAddress channel key from the dictionary
// removed while (!channels.TryRemove(key, out channel)) Task.Yield();
// replaced channel = channels[key];
this allows one to add multiple subscription channels for one URI AND then remove them.
//re-added // only when 'List<>'channel.channels is empty while (!channels.TryRemove(key, out channel)) Task.Yield();
issue existing since 2021 see: https://github.com/IPCConnectedFactoryExchange/CFX/issues/116