This commit is contained in:
guoling
2025-04-22 20:02:27 +08:00
parent 0e05353b4a
commit 185f867888
4 changed files with 0 additions and 5 deletions
-2
View File
@@ -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;
}