fixed scheduled tasks firing too early

This commit is contained in:
LukePulverenti
2013-03-10 01:45:16 -05:00
parent b1be6f1d73
commit 3acfd73d86
3 changed files with 93 additions and 27 deletions

View File

@@ -127,7 +127,10 @@ namespace MediaBrowser.Server.Implementations.Udp
/// </summary>
public void Stop()
{
_udpClient.Close();
if (_udpClient != null)
{
_udpClient.Close();
}
}
/// <summary>