release method
Releases an offscreen device.
Render sessions on the device keep working until they detach.
See mln_offscreen_device_release in the
C API reference.
Implementation
void release() => _state.close((handle) {
raw.mln_offscreen_device_release(handle.raw);
return nativeStatusOk;
});