Skip to content

Commit

Permalink
Fix connected flag not being set to false. Closes #53
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDrivenMitch committed Jun 8, 2023
1 parent d08c5e4 commit 8b4c6b3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ class RSocketInspectorClient(
val client = TcpClient.create()
.host(properties.host)
.port(properties.port)
.doOnDisconnected {
connected = false
}
return if (properties.secure) {
return client.secure()
} else client
Expand Down

0 comments on commit 8b4c6b3

Please sign in to comment.