This commit is contained in:
DavidXanatos 2022-12-22 19:26:29 +01:00
parent 29edfc5ae6
commit bc48de371e
2 changed files with 14 additions and 7 deletions

View File

@ -6,10 +6,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [1.6.3a / 5.61.3] - 2022-12-??
### Added
- added option to disable box clean up on start [#2553](https://github.com/sandboxie-plus/Sandboxie/issues/2553)
### Fixed
- fixed issue with auto delete box on sandman start [#2555](https://github.com/sandboxie-plus/Sandboxie/issues/2555)
## [1.6.3 / 5.61.3] - 2022-12-21
### Changed

View File

@ -1808,15 +1808,18 @@ void CSandMan::OnStatusChanged()
theAPI->CreateBox(DefaultBox);
}
//
// clean up Auto Delete boxes after reboot
//
if (theConf->GetBool("Options/CleanUpOnStart", false)) {
theAPI->UpdateProcesses(false, ShowAllSessions());
//
// clean up Auto Delete boxes after reboot
//
foreach(const CSandBoxPtr& pBox, AllBoxes) {
if(pBox->GetActiveProcessCount() == 0)
OnBoxClosed(pBox);
theAPI->UpdateProcesses(false, ShowAllSessions());
foreach(const CSandBoxPtr & pBox, AllBoxes) {
if (pBox->GetActiveProcessCount() == 0)
OnBoxClosed(pBox);
}
}
}