Ramon Leon wrote:
10000 timesRepeat: [NetNameResolver localHostName]
Confirms to me that this is my bug. So... Anyone know a reliable method of getting the computers name that doesn't leak
like a sieve?
What Windows version are you running? I've just run the
above code on
XP and everything went fine, i.e., no handles were leaked.
Cheers,
- Andreas
I'm using XP Professional Service Pack 2, and I just reconfirmed that this leaks handles for both Squeak 3.8.1 and Squeak 3.9 for me.
And in production, I'm using Windows Server 2003, also leaks.
Ramon Leon http://onsmalltalk.com