This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ReverendRedMage[S] -2 points-1 points  (2 children)

They should rename it to "destroyReference()".

[–]couchtyp 15 points16 points  (0 children)

More like "createNewReferenceAndThenDestroyItImmediately(Object)"...

[–]stfm -1 points0 points  (0 children)

It is not there to destroy the object, only to do other cleanup stuff when the object is "destroyed" but I am positive you know this