This commit is contained in:
Josh Babb 2023-05-24 13:15:10 -05:00
parent 281a04654c
commit 2762490e6d

View file

@ -52,6 +52,10 @@ class JsonRPC {
socket?.destroy();
}
if (socket != null) {
// TODO check if the socket is valid, alive, connected, etc
}
if (useSSL) {
socket ??= await SecureSocket.connect(host, port,
timeout: connectionTimeout,