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
cancellable | a #GCancellable or null |
Returns
true if the operation succeeded, false if error is set
Throws
[ErrorWrap]