mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Get used to null propagation
This commit is contained in:
@@ -50,10 +50,6 @@ namespace ArchiSteamFarm {
|
||||
public bool MoveNext() => Enumerator.MoveNext();
|
||||
public void Reset() => Enumerator.Reset();
|
||||
|
||||
public void Dispose() {
|
||||
if (Lock != null) {
|
||||
Lock.ExitReadLock();
|
||||
}
|
||||
}
|
||||
public void Dispose() => Lock?.ExitReadLock();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user