Skip to content

Commit

Permalink
Remove unnecessary comments in File Monitoring (Azure#5645)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitkumarr authored Feb 13, 2020
1 parent 31c4fbb commit e0c3705
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/WebJobs.Script.WebHost/FileMonitoringService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ private void InitializeNonBlockingFileWatchers()

lock (_stopWatchersLock)
{
// We need this duplication to avoid race if watchers were stopped just when we acquired the lock
if (!_watchersStopped)
{
_debugModeFileWatcher = new AutoRecoveringFileSystemWatcher(_hostLogPath, ScriptConstants.DebugSentinelFileName,
Expand All @@ -160,7 +159,6 @@ private void StopFileWatchers()

lock (_stopWatchersLock)
{
// We need this duplication to avoid race if watchers were stopped just when we acquired the lock
if (_watchersStopped)
{
return;
Expand Down

0 comments on commit e0c3705

Please sign in to comment.