File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
prj/coherence-core/src/main/java/com/tangosol/util Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -750,10 +750,7 @@ protected void configureWorker(DaemonWorker worker)
750750 ThreadGroup curThreadGroup = ensureThreadGroup ();
751751 synchronized (curThreadGroup ) // ensures that the thread group is not destroyed concurrently
752752 {
753- if (curThreadGroup .isDestroyed ())
754- {
755- ensureThreadGroup ();
756- }
753+ ensureThreadGroup ();
757754 threadWorker = makeThread (m_threadGroup , worker , null );
758755 }
759756
@@ -784,11 +781,9 @@ protected void configureWorker(DaemonWorker worker)
784781 protected ThreadGroup ensureThreadGroup ()
785782 {
786783 ThreadGroup threadGroup = m_threadGroup ;
787- if (threadGroup == null || threadGroup . isDestroyed () )
784+ if (threadGroup == null )
788785 {
789786 threadGroup = m_threadGroup = new ThreadGroup (getConfiguredName ());
790- // Make it a daemon so that it is destroyed automatically.
791- threadGroup .setDaemon (true );
792787 }
793788 return threadGroup ;
794789 }
You can’t perform that action at this time.
0 commit comments