-
-
Notifications
You must be signed in to change notification settings - Fork 460
Closed
Description
Integration
sentry-spring-boot-starter
Java Version
11
Version
5.7.3
Steps to Reproduce
- Define a spring boot project, add sentry client to pom.xml
- Start a tomcat 9 with a war file deployed
- Redeploy(replace) a war file (without restarting tomcat)
The issue is similar to #487 or #420
Expected Result
Sentry should stop threads once web app is stopped
Actual Result
org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ftadmin] created a ThreadLocal with key of type [io.sentry.environment.SentryEnvironment$1] (value [io.sentry.environment.SentryEnvironment$1@26c761df]) and a value of type [java.util.concurrent.atomic.AtomicInteger] (value [0]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Done