Calls the release function of reference counted type T.
The value to reduce the reference count of.
If possible, the new state of value.
See Implementation
Calls the release function of reference counted type T.