destroy

Destroys the lock and frees up the memory. After calling this method, the instance can no longer be used.

common
fun destroy()
ios
fun destroy()