Skip to content

MoveViewJob has Memory leak #3099

@xueyaolive

Description

@xueyaolive

class: MoveViewJob
your code:
private static ObjectPool pool = ObjectPool.create(2, new MoveViewJob((ViewPortHandler)null, 0.0F, 0.0F, (Transformer)null, (View)null));

I think the static poll has a context that will cause memory leaks .
It cannot be released from the outside,Maybe it should be made public ,Although I can solve it in the following ways, but this is not the way to solve it .

code: MoveViewJob.getInstance(null,0,0,null,null);
Please help me!Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions