update socket methods

This commit is contained in:
Luke Pulverenti
2017-03-26 15:00:35 -04:00
parent 240000f965
commit caaa906604
5 changed files with 107 additions and 197 deletions

View File

@@ -421,17 +421,6 @@ namespace Emby.Server.Core.IO
var path = e.FullPath;
// For deletes, use the parent path
if (e.ChangeType == WatcherChangeTypes.Deleted)
{
var parentPath = Path.GetDirectoryName(path);
if (!string.IsNullOrWhiteSpace(parentPath))
{
path = parentPath;
}
}
ReportFileSystemChanged(path);
}
catch (Exception ex)