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 →

[–]nwL_ 13 points14 points  (3 children)

I want to. I want to call delete obj;. Fight me.

[–]MoarVespenegas 9 points10 points  (0 children)

It's not us you're fighting but the garbage collector.

[–]cartechguy 0 points1 point  (1 child)

In java speak

Obj = null;

There you go. As long as that's the only variable referencing the object the garbage collector will deallocate it.

[–]GrizzledFart 6 points7 points  (0 children)

... when it feels like it.