fix null pointer in ThreadPools shutdown
This commit is contained in:
@@ -141,9 +141,12 @@ public class ThreadPools
|
||||
ThreadPools.bufferBuilderThreadPool.shutdownExecutorService();
|
||||
|
||||
workerThreadSemaphore = null;
|
||||
workerThreadSemaphoreConfigListener.close();
|
||||
workerThreadSemaphoreConfigListener = null;
|
||||
|
||||
if (workerThreadSemaphoreConfigListener != null)
|
||||
{
|
||||
workerThreadSemaphoreConfigListener.close();
|
||||
workerThreadSemaphoreConfigListener = null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user