No point in SlimLock being a struct when it's just boxed to an object anyways.

This commit is contained in:
UnknownShadow200 2017-09-07 15:55:21 +10:00
parent 7d9192b315
commit 082c5f173d
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ namespace MCGalaxy.Util {
}
struct SlimLock : IDisposable {
class SlimLock : IDisposable {
ReaderWriterLock locker;
bool writeMode;

View File

@ -40,7 +40,7 @@ namespace MCGalaxy.Util {
}
struct SlimLock : IDisposable {
class SlimLock : IDisposable {
ReaderWriterLockSlim locker;
bool writeMode;