Skip to content

Commit

Permalink
Merge pull request wildfly#17193 from manovotn/weld2755
Browse files Browse the repository at this point in the history
WFLY-18457 Remove custom ThreadGroup from Weld's executor services
  • Loading branch information
bstansberry authored Sep 20, 2023
2 parents a2bff8e + 4745c67 commit aa93f5a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ public WeldExecutorServices(final Consumer<ExecutorServices> executorServicesCon

@Override
public void start(final StartContext context) throws StartException {
final ThreadGroup threadGroup = new ThreadGroup("Weld ThreadGroup");
final ThreadFactory factory = new JBossThreadFactory(threadGroup, Boolean.FALSE, null, THREAD_NAME_PATTERN, null, null);
final ThreadFactory factory = new JBossThreadFactory(null, Boolean.FALSE, null, THREAD_NAME_PATTERN, null, null);
// set TCCL to null for new threads to make sure no deployment classloader leaks through this executor's TCCL
// Weld does not mind having null TCCL in this executor
this.executor = new WeldExecutor(bound, runnable -> {
Expand Down

0 comments on commit aa93f5a

Please sign in to comment.