Skip to content

Commit

Permalink
Disabled ReadWriteLock
Browse files Browse the repository at this point in the history
  • Loading branch information
ezet committed Mar 20, 2016
1 parent 6331f09 commit e62c88f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EveLib.Core/Cache/EveLibFileCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public class EveLibFileCache : IEveLibCache, IDisposable {
private async Task writeRegisterToDiskAsync() {
_trace.TraceEvent(TraceEventType.Verbose, 0, "EveLibFileCache:Writing cache register to disk");
//while (!_registerLock.IsWriteLockHeld)
_registerLock.EnterWriteLock();
//_registerLock.EnterWriteLock();
try {
await AsyncFileUtilities.WriteAllLinesAsync(CacheRegister,
_register.Select(x => x.Key + "," + x.Value.ToString(CultureInfo.InvariantCulture)))
Expand Down

0 comments on commit e62c88f

Please sign in to comment.