DBusConnection.exitOnClose

bool exitOnClose() @property

Get exitOnClose property.

Returns

A boolean specifying whether the process will be terminated (by

calling raise(SIGTERM)) if the connection is closed by the remote peer.

Note that #GDBusConnection objects returned by [gio.global.busGetFinish] and [gio.global.busGetSync] will (usually) have this property set to true.

void exitOnClose(bool propval) @property

Set exitOnClose property.

Parameters

propvalA boolean specifying whether the process will be terminated (by calling raise(SIGTERM)) if the connection is closed by the remote peer. Note that #GDBusConnection objects returned by [gio.global.busGetFinish] and [gio.global.busGetSync] will (usually) have this property set to true.