destroy


Description:

[ Version ( since = "1.24" ) ]
public void destroy ()

Since 1.24, the instance will already register a D-Bus object on the D-Bus connection during initialization.

That object will stay registered until this gets unrefed (destroyed) or this function is called. This function performs the necessary cleanup to tear down the instance. Afterwards, the function can not longer be used. This is optional, but necessary to ensure unregistering the D-Bus object at a define point, when other users might still have a reference on this.

You may call this function any time and repeatedly. However, after destroying the instance, it is a bug to still use the instance for other purposes. The instance becomes defunct and cannot re-register.

Parameters:

this

the SecretAgentOld instance.