This commit is contained in:
DavidXanatos 2022-05-31 19:05:00 +02:00
parent f114800582
commit 46e996fd07
3 changed files with 7 additions and 4 deletions

View File

@ -23,6 +23,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- fixed issues with the new delete V2 mechanism
- fixed issue with the win 11 emenu on older windows builds [1877](https://github.com/sandboxie-plus/Sandboxie/issues/1877)
- refresh now works without WatchBoxSize option [#1885](https://github.com/sandboxie-plus/Sandboxie/issues/1885)
- fixed crash issue with WatchBoxSize=true [#1885](https://github.com/sandboxie-plus/Sandboxie/issues/1885)
- fixed issue with recovery folder paths [#1840](https://github.com/sandboxie-plus/Sandboxie/issues/1840)

View File

@ -180,9 +180,9 @@ protected:
{
if ((*I)->GetDirectory() == pRequest->second)
{
::InterlockedDecrement(&pRequest->first->m_nOutstandingRequests);
(*I)->RequestTermination();
delete (*I);
(*I)->RequestTermination(); // delete done by NotificationCompletion
//::InterlockedDecrement(&pRequest->first->m_nOutstandingRequests);
//delete (*I);
I = m_pBlocks.erase(I);
}
else

View File

@ -435,7 +435,7 @@ void CRecoveryWindow::RecoverFiles(bool bBrowse, QString RecoveryFolder)
QString CurPath = File["DiskPath"].toString();
FileMap[File["BoxPath"].toString()].FullPath = CurPath;
QString RelPath = CurPath.mid(DirPath.length());
QString RelPath = CurPath.mid(Split2(DirPath, "\\", true).first.length());
if (RelPath.length() > FileMap[File["BoxPath"].toString()].RelPath.length())
FileMap[File["BoxPath"].toString()].RelPath = RelPath;
}