Method
JsonrpcClientclose
Declaration [src]
gboolean
jsonrpc_client_close (
JsonrpcClient* self,
GCancellable* cancellable,
GError** error
)
Description [src]
Closes the underlying streams and cancels any inflight operations of the
JsonrpcClient
.
This is important to call when you are done with the
client so that any outstanding operations that have caused self
to
hold additional references are cancelled.
Failure to call this method results in a leak of JsonrpcClient
.
Available since: | 3.26 |