dispose method

void dispose()

Releases a runtime in any state, without waiting.

The runtime finishes its teardown after its maps are released.

See mln_runtime_dispose in the C API reference.

Implementation

void dispose() => _state.close(
  (handle) => raw.mln_runtime_dispose(handle.raw, nativeDiagnostic),
);