Skip to content
Snippets Groups Projects

OZG-7262 OZG-7657 Fix possible deadlock

Merged Krzysztof Witukiewicz requested to merge OZG-7262-fix-deadlock into main
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -107,10 +107,10 @@ public class GrpcBinaryFileServerDownloader<T> {
@@ -107,10 +107,10 @@ public class GrpcBinaryFileServerDownloader<T> {
void startDownload() {
void startDownload() {
try {
try {
doDownload();
doDownload();
 
closeOutputStream();
sendChunks();
sendChunks();
} catch (Exception e) {
} catch (Exception e) {
downloadError.set(new TechnicalException("Error while downloading file contents", e));
downloadError.set(new TechnicalException("Error while downloading file contents", e));
} finally {
closeOutputStream();
closeOutputStream();
}
}
}
}
Loading