
24 Oct
2004
24 Oct
'04
10:36 p.m.
On 2004-10-22, Peter Simons
I know it's a rather mundane question, but I couldn't find an answer to it!
So what does happen when I forget to hClose a Handle? Will the garbage collector do that for me? Or not?
I'd like the answer to this question, too, but also: * Does the same hold true for sockets? * For sockets that also exist as Handles? * What happens when one Handle corresponding to a socket is closed, but another isn't? * What happens when one gets GC'd but another doesn't?
And while I am at it: How about Socket? Do I have to sClose a socket I obtained from listenOn or accept?
Ah. I already asked some of this :-)