Skip to content
Snippets Groups Projects
Commit 73ead92e authored by Krzysztof Witukiewicz's avatar Krzysztof Witukiewicz
Browse files

OZG-7262 OZG-7657 Fix possible deadlock

parent f7fe32ba
No related branches found
No related tags found
1 merge request!7OZG-7262 OZG-7657 Fix possible deadlock
...@@ -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();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment