Skip to content
This repository has been archived by the owner on Aug 19, 2018. It is now read-only.

Commit

Permalink
Added cleaning resources
Browse files Browse the repository at this point in the history
  • Loading branch information
segabriel committed Aug 18, 2018
1 parent c86afda commit 724d561
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ private Mono<Void> shutdown() {
() ->
gatewayInstances != null && !gatewayInstances.isEmpty()
? Mono.when(
gatewayInstances.values().stream().map(Gateway::stop).toArray(Mono[]::new))
gatewayInstances.values().stream().map(Gateway::stop).toArray(Mono[]::new))
: Mono.empty());
}

Expand Down

0 comments on commit 724d561

Please sign in to comment.