From: Soh Dubom Date: 2008-01-01T21:45:53+09:00 Subject: Re: Destroying an Object Daniel Berger wrote: > On Dec 26, 9:09�am, Ken Awamura wrote: >> Suppose I create a new object: >> p = new Object >> How can I kill/destroy this object forever? > > Take off and nuke it from orbit. It's the only way to be sure. > Regards, > Dan See, it's the same in .NET world ... they have CG.collect, obj.dispose, etc ... but it just doesn't work ... I guess the best thing to do is : obj = null and hope GC to collect those null objects. -- Posted via http://www.ruby-forum.com/.