Most objects when they drop out of scope in Rust, they are destroyed. However, we have an issue with XAPI clients where when these objects are dropped, the session ID is not deleted and then a session is left open. This could be dangerous in terms of failing auth calls when trying to create new clients.
The user is currently required to call relinquish manually before dropping out of scope, but it would be good to have Rust do this work for the user instead.
Most objects when they drop out of scope in Rust, they are destroyed. However, we have an issue with XAPI clients where when these objects are dropped, the session ID is not deleted and then a session is left open. This could be dangerous in terms of failing auth calls when trying to create new clients.
The user is currently required to call
relinquish
manually before dropping out of scope, but it would be good to have Rust do this work for the user instead.