DBusConnectionGidBuilderImpl.exitOnClose

T exitOnClose(bool propval)

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.

Returns

Builder instance for fluent chaining