2006/12/19, Ramon Leon ramon.leon@allresnet.com:
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.
You don't happen to have the Windows "firewall" on, do you?
Philippe