Fixed bug in shutdown management of global event-based dispatcher

This commit is contained in:
Jonas Bonér 2010-01-02 08:40:09 +01:00
parent cc0517d559
commit cb019e9e4d
6 changed files with 22 additions and 6 deletions

View file

@ -28,6 +28,8 @@ trait ThreadPoolBuilder {
protected var executor: ExecutorService = _
def isShutdown = executor.isShutdown
def buildThreadPool = synchronized {
ensureNotActive
inProcessOfBuilding = false