Fix stream and socket handling.

This commit is contained in:
Christian
2018-03-29 22:12:23 +02:00
parent fcf748e980
commit cea984cc2f
10 changed files with 171 additions and 29 deletions
@@ -47,7 +47,7 @@ namespace MQTTnet.ManagedClient
{
if (options == null) throw new ArgumentNullException(nameof(options));
if (_clientOptionsBuilder != null)
if (_clientOptionsBuilder == null)
{
_clientOptionsBuilder = new MqttClientOptionsBuilder();
}