Skip to content
Snippets Groups Projects
Commit 07824994 authored by ivan's avatar ivan
Browse files

corrected bug shutdown

parent 5870590d
No related branches found
No related tags found
No related merge requests found
......@@ -68,17 +68,14 @@ public class S3Client extends DB {
/**
* Cleanup any state for this storage.
* Called once per S3 instance;
* there is one S3 instance per client thread.
*/
@Override
public void cleanup() throws DBException {
if(this.s3Client != null){
try {
this.s3Client.shutdown();
this.s3Client = null;
} catch (Exception e){
e.printStackTrace();
} finally {
this.s3Client = null;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment