Thanks to visit codestin.com
Credit goes to github.com

Skip to content

QuarkusKeycloakSession leak in DeclarativeUserProfileProvider #43785

@ahus1

Description

@ahus1

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

user-profile

Describe the bug

Due to the use or anonymous inner classes, the code holds on to the instance and the session.

Image

Version

main

Regression

  • The issue is a regression

Expected behavior

There should be no leak of the KeycloakSession

Actual behavior

There is a leak

How to Reproduce?

Start up an instance, log in once to initialize the DeclarativeUserProfileProvider, and take a memory snapshot.

Anything else?

I'll provide a PR

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions