Skip to content
Snippets Groups Projects
Commit 51d6dfc3 authored by OZGCloud's avatar OZGCloud
Browse files

Close stream after sending file

parent 02b7f015
No related branches found
No related tags found
No related merge requests found
......@@ -150,6 +150,7 @@ public class GrpcFileUploadUtils {
IOUtils.closeQuietly(inputStream);
requestObserver.onCompleted();
done.set(true);
IOUtils.closeQuietly(inputStream);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment