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

Commit 724d561

Browse files
committed
Added cleaning resources
1 parent c86afda commit 724d561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/src/main/java/io/scalecube/services/Microservices.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ private Mono<Void> shutdown() {
327327
() ->
328328
gatewayInstances != null && !gatewayInstances.isEmpty()
329329
? Mono.when(
330-
gatewayInstances.values().stream().map(Gateway::stop).toArray(Mono[]::new))
330+
gatewayInstances.values().stream().map(Gateway::stop).toArray(Mono[]::new))
331331
: Mono.empty());
332332
}
333333

0 commit comments

Comments
 (0)