Skip to content

Commit

Permalink
Issue #5859 Fix Classloader leak from QueuedThreadPool
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Bartel <janb@webtide.com>
  • Loading branch information
janbartel committed Jan 18, 2021
1 parent 25a3d19 commit b688d95
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -689,6 +689,7 @@ public Thread newThread(Runnable runnable)
thread.setDaemon(isDaemon());
thread.setPriority(getThreadsPriority());
thread.setName(_name + "-" + thread.getId());
thread.setContextClassLoader(QueuedThreadPool.class.getClassLoader());
return thread;
}

Expand Down

0 comments on commit b688d95

Please sign in to comment.