diff --git a/geoportal-common/src/main/java/org/gcube/application/geoportal/common/utils/StorageUtils.java b/geoportal-common/src/main/java/org/gcube/application/geoportal/common/utils/StorageUtils.java index 7bc85d4..9e4bf02 100644 --- a/geoportal-common/src/main/java/org/gcube/application/geoportal/common/utils/StorageUtils.java +++ b/geoportal-common/src/main/java/org/gcube/application/geoportal/common/utils/StorageUtils.java @@ -28,7 +28,10 @@ public class StorageUtils { public StorageUtils() { client=getClient(); } - + + public void forceClose(){ + client.forceClose(); + } public TempFile putOntoStorage(InputStream source,String filename) throws RemoteBackendException, FileNotFoundException{ log.debug("Uploading source "+filename);