Unmaps the ring and closes its descriptor. Safe on a ring that was never initialized or already closed. Pending operations are dropped by the kernel.
ring_deinit :: (ring: *Ring)