mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Removed copy/paste artifact.
This commit is contained in:
@@ -34,7 +34,6 @@ namespace Orchard.Tasks.Locking {
|
|||||||
}).Wait();
|
}).Wait();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (acquired) {
|
if (acquired) {
|
||||||
Logger.Debug(String.Format("Successfully acquired a lock named {0} on machine {1}.", name, machineName));
|
Logger.Debug(String.Format("Successfully acquired a lock named {0} on machine {1}.", name, machineName));
|
||||||
return true;
|
return true;
|
||||||
@@ -46,7 +45,6 @@ namespace Orchard.Tasks.Locking {
|
|||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
Monitor.Exit(_semaphore);
|
Monitor.Exit(_semaphore);
|
||||||
Logger.Debug("Ending sweep.");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user