mirror of
https://github.com/Tencent/MMKV.git
synced 2026-10-17 04:30:56 +08:00
tidy
This commit is contained in:
@@ -201,10 +201,8 @@ bool FileLock::unlock(LockType lockType) {
|
||||
}
|
||||
|
||||
void FileLock::destroyLock() {
|
||||
// TODO: test Win32 file lock
|
||||
m_fd = MMKVFileHandleInvalidValue;
|
||||
|
||||
// TODO: do we need to reset these as well?
|
||||
// m_sharedLockCount = 0;
|
||||
// m_exclusiveLockCount = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user