Fixed issue #190: RemoteClient shutdown ends up in endless loop
This commit is contained in:
parent
86a8fd0d3b
commit
2fce1676b2
2 changed files with 5 additions and 6 deletions
|
|
@ -30,7 +30,7 @@ trait ThreadPoolBuilder {
|
|||
|
||||
def isShutdown = executor.isShutdown
|
||||
|
||||
def buildThreadPool = synchronized {
|
||||
def buildThreadPool: Unit = synchronized {
|
||||
ensureNotActive
|
||||
inProcessOfBuilding = false
|
||||
if (boundedExecutorBound > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue