release method

Future<void> release()

Releases a runtime.

Release the runtime's maps first.

See mln_runtime_release in the C API reference.

Implementation

Future<void> release() => _state.closeAsync(
  (handle) => _submit(
    (arena, completion) =>
        raw.mln_runtime_release(handle.raw, completion, nativeDiagnostic),
  ),
);