Removing redundant isOff call
This commit is contained in:
parent
7d5bc13163
commit
9a582b7c49
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ trait MessageDispatcher {
|
|||
val future = new DefaultCompletableFuture[T](timeout)
|
||||
|
||||
if (active.isOff)
|
||||
guard withGuard { if (active.isOff) active.switchOn { start } }
|
||||
guard withGuard { active.switchOn { start } }
|
||||
|
||||
executeFuture(FutureInvocation[T](future, block, futureCleanup))
|
||||
future
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue