DBusConnection.closeSync

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.

class DBusConnection
bool
closeSync

Parameters

cancellable gio.cancellable.Cancellable

a #GCancellable or null

Return Value

Type: bool

true if the operation succeeded, false if error is set