ole32: Wait a bit before doing next sanity check in StorageImpl_LockRegionSync.

This commit is contained in:
Sebastian Lackner 2015-03-12 07:19:54 +01:00 committed by Alexandre Julliard
parent 4af6be9d3a
commit 66e8060204
1 changed files with 2 additions and 0 deletions

View File

@ -2917,6 +2917,8 @@ static HRESULT StorageImpl_LockRegionSync(StorageImpl *This, ULARGE_INTEGER offs
ILockBytes_UnlockRegion(This->lockBytes, sanity_offset, sanity_cb, 0); ILockBytes_UnlockRegion(This->lockBytes, sanity_offset, sanity_cb, 0);
hr = STG_E_ACCESSDENIED; hr = STG_E_ACCESSDENIED;
} }
last_sanity_check = current_time;
} }
Sleep(delay); Sleep(delay);
if (delay < 150) delay++; if (delay < 150) delay++;