sh_destroy method
Destroy a SelectionHook instance.
Caller MUST ensure sh_stop has returned before calling sh_destroy. Releases all native resources.
@param hook Instance to destroy. May be NULL (no-op). @thread_safety Safe from any thread. Not safe if callback is in-flight (caller responsibility to serialize with sh_stop).
Implementation
void sh_destroy(ffi.Pointer<SelectionHook> hook) {
return _sh_destroy(hook);
}