aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/SsdpDeviceLocator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'RSSDP/SsdpDeviceLocator.cs')
-rw-r--r--RSSDP/SsdpDeviceLocator.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/RSSDP/SsdpDeviceLocator.cs b/RSSDP/SsdpDeviceLocator.cs
index 9a110683e..0cdc5ce3d 100644
--- a/RSSDP/SsdpDeviceLocator.cs
+++ b/RSSDP/SsdpDeviceLocator.cs
@@ -31,11 +31,10 @@ namespace Rssdp.Infrastructure
{
throw new ArgumentNullException(nameof(communicationsServer));
}
-
- _CommunicationsServer = communicationsServer;
- // This can occur is dlna is enabled, but defined to run over https.
+ _CommunicationsServer = communicationsServer;
_CommunicationsServer.ResponseReceived += CommsServer_ResponseReceived;
+
_Devices = new List<DiscoveredSsdpDevice>();
}