DBusConnection.closeSync

bool closeSync(gio.cancellable.Cancellable cancellable = null)

Synchronously closes connection. The calling thread is blocked until this is done. See [gio.dbus_connection.DBusConnection.close] for the asynchronous version of this method and more details about what it does.

Parameters

cancellablea #GCancellable or null

Returns

true if the operation succeeded, false if error is set

Throws

[ErrorWrap]