don't use socket to report start/stop

This commit is contained in:
Luke Pulverenti 2015-03-08 16:01:56 -04:00
parent ccb2dda358
commit 19c95ff61b

View File

@ -70,6 +70,11 @@ namespace MediaBrowser.Controller.Net
/// <returns>Task.</returns>
public Task ProcessMessage(WebSocketMessageInfo message)
{
if (message == null)
{
throw new ArgumentNullException("message");
}
if (message.MessageType.Equals(Name + "Start", StringComparison.OrdinalIgnoreCase))
{
Start(message);