Secret.Service.disconnect
function disconnect(): void { // Gjs wrapper for secret_service_disconnect() }
Disconnect the default Secret.Service proxy returned by Secret.Service.get and Secret.Service.get_sync.
It is not necessary to call this function, but you may choose to do so at program exit. It is useful for testing that memory is not leaked.
This function is safe to call at any time. But if other objects in this library are still referenced, then this will not result in all memory being freed.