release method
Implementation
Future<void> release() async {
// Release all isolates
await killAllIsolates();
// Release the native session
OrtEnv.instance.ortApiPtr.ref.ReleaseSession
.asFunction<void Function(ffi.Pointer<bg.OrtSession>)>()(_ptr);
}