closeSync

open fun closeSync(cancellable: Cancellable? = null): <Error class: unknown class><Boolean>

Synchronously closes @connection. The calling thread is blocked until this is done. See g_dbus_connection_close() for the asynchronous version of this method and more details about what it does.

Return

true if the operation succeeded, false if @error is set

Since

2.26

Parameters

cancellable

a #GCancellable or null