staticStableRefDestroy
val staticStableRefDestroy: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class>?, <Error class: unknown class><<Error class: unknown class>>?) -> Unit>>
Helper function that can be used as a destroy_data handler when connecting to a signal or when executing callbacks.
This implementation assumes data is a pointer to a StableRef and calls dispose on it.