Skip to content

Commit

Permalink
Shutdown fix
Browse files Browse the repository at this point in the history
  • Loading branch information
atomashpolskiy committed Feb 26, 2018
1 parent c497c37 commit bb42998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bt-core/src/main/java/bt/DefaultClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ public synchronized void stop() {
if (futureOptional.isPresent()) {
CompletableFuture<?> f = futureOptional.get();
futureOptional = Optional.empty();
f.complete(null);
detachFromRuntime();
f.complete(null);
}
}

Expand Down

0 comments on commit bb42998

Please sign in to comment.