Method
MaplibreNativeFfiRenderSessiondispose
Declaration [src]
void
maplibre_native_ffi_render_session_dispose (
MaplibreNativeFfiRenderSession* self
)
Description [src]
Releases the session in any state, and finishes in the background.
Use it from destructors and finalizers, and
maplibre_native_ffi_render_session_release_async() elsewhere. It ends the
session as a release does, except that it abandons a session whose frames you
hold, which ends those frames. Keep servicing a session driven by
MAPLIBRE_NATIVE_FFI_RENDER_DRIVER_CALLER_GRAPHICS_THREAD until
maplibre_native_ffi_render_session_service_driver_work() no longer accepts it.
The object calls this when it is disposed, unless its handle was released. Later calls do nothing.
See mln_render_session_dispose in the
C API reference.