Fixed bug in shutdown management of global event-based dispatcher
This commit is contained in:
parent
cc0517d559
commit
cb019e9e4d
6 changed files with 22 additions and 6 deletions
|
|
@ -28,6 +28,8 @@ trait ThreadPoolBuilder {
|
|||
|
||||
protected var executor: ExecutorService = _
|
||||
|
||||
def isShutdown = executor.isShutdown
|
||||
|
||||
def buildThreadPool = synchronized {
|
||||
ensureNotActive
|
||||
inProcessOfBuilding = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue