Fixed: Fatal error will not be logged when browser is closed (linux/osx)

pull/2/head
Mark McDowall 11 years ago
parent 267c97052e
commit 2d50957baa

@ -238,6 +238,12 @@ namespace Microsoft.AspNet.SignalR.Infrastructure
if (command == null) if (command == null)
{ {
var platform = (int)Environment.OSVersion.Platform;
if (platform == 4 || platform == 6 || platform == 128)
{
return;
}
throw new SerializationException("Couldn't parse message " + message.Value); throw new SerializationException("Couldn't parse message " + message.Value);
} }

Loading…
Cancel
Save