8000 Infinite recursion (#392) · chakra-coder/rsocket-java@ae2f680 · GitHub
[go: up one dir, main page]

Skip to content

Commit ae2f680

Browse files
qweekyschimke
authored andcommitted
Infinite recursion (rsocket#392)
Method 'onClose()' recurses infinitely, and can only end by throwing an exception
1 parent fa09e78 commit ae2f680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rsocket-core/src/main/java/io/rsocket/util/CloseableAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ public Mono<Void> close() {
2424

2525
@Override
2626
public Mono<Void> onClose() {
27-
return onClose();
27+
return onClose;
2828
}
2929
}

0 commit comments

Comments
 (0)
0