mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-06-17 18:16:07 -05:00
Windows: stop auto-mount scan on mount cancellation
Add a cancel callback and batch abort flag so auto-mount-all stops after dialog cancellation. Mark MountVolume ERR_USER_ABORT with ERROR_CANCELLED so external /cancelmount also stops the scan.
This commit is contained in:
@@ -733,6 +733,7 @@ namespace VeraCrypt
|
||||
{
|
||||
FillFavoriteVolumesMenu();
|
||||
|
||||
::ClearFavoriteVolumeArrivalMountSuppressions ();
|
||||
FavoritesOnArrivalMountRequired.clear();
|
||||
|
||||
for (const FavoriteVolume& favorite: FavoriteVolumes)
|
||||
|
||||
Reference in New Issue
Block a user