destroySession method
Teardown a session handle (called by the session worker, not directly).
Implementation
void destroySession(int sessionHandle) {
final fn = RacNative.bindings.rac_tool_calling_session_destroy_proto;
try {
fn(sessionHandle);
} catch (e) {
_logger.warning('session destroy failed: $e');
}
}