pub(crate) unsafe fn finalize_global<T>(obj: *mut JSObject, this: *const T)
obj must point to a valid, non-null JS object. this must point to a valid, non-null instance of T.
obj
this