ole32: Wait a bit before doing next sanity check in StorageImpl_LockRegionSync.
This commit is contained in:
parent
4af6be9d3a
commit
66e8060204
|
@ -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++;
|
||||||
|
|
Loading…
Reference in New Issue