Tag: resource-leak

Not calling finalize causes skipped cleanup steps

Always call super.finalize explicitly.

Resource leak

Allocated resources are not released properly.

Resources used by an Amazon S3 TransferManager are not released

Call ShutdownNow when you use TransferManager to manage transfers to Amazon S3.