Browse Source

Comment on how canceling file size calculation works

Source commit: 7e3eff7aeb357a8b02edf2cea4c85eba4912e942
Martin Prikryl 9 years ago
parent
commit
1d8c1ec215
1 changed files with 2 additions and 0 deletions
  1. 2 0
      source/core/Terminal.cpp

+ 2 - 0
source/core/Terminal.cpp

@@ -3618,6 +3618,8 @@ void __fastcall TTerminal::CalculateFileSize(UnicodeString FileName,
   if (!TryStartOperationWithFile(FileName, foCalculateSize))
   {
     AParams->Result = false;
+    // Combined with csIgnoreErrors, this will not abort completelly, but we get called again
+    // with next sibling of our parent directory (and we get again to this branch, throwing again)
     Abort();
   }