Skip to content

addShutdownHook in ResumableAsyncHandler causes class loader leak #291

Closed
@syvalta

Description

@syvalta

com.ning.http.client.resumable.ResumableAsyncHandler.ResumableIndexThread adds a shutdown hook at initialization. When ning is used inside a web application it will result in a classloader leak when the application is undeployed (reference from system class --> ResumableIndexThread instance --> ResumableIndexThread class --> web app classloader). This results in all the web app classes to be kept in perm gen.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions