Check connectivity on attempt to close the connection in method `close`.
This commit is contained in:
parent
b00f0aff10
commit
3c87878030
|
@ -148,6 +148,9 @@ public final class BesterClient
|
|||
|
||||
public void close()
|
||||
{
|
||||
/* Make sure we have an open connection */
|
||||
endpointConnectednessCheck();
|
||||
|
||||
/* Whether or not the authentication succeded */
|
||||
bool status = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue