Subject: Re: Leaked handles on Windows

Re: Leaked handles on Windows

From: Steinar H. Gunderson <sesse_at_google.com>
Date: Mon, 18 May 2009 14:08:46 +0200

2009/5/18 Daniel Stenberg <daniel_at_haxx.se>:
> I'm sorry but I don't understand. How do you propose we fix this problem
> without breaking the ABI?

Can't you just load the library the first time you need it, and then
store the handle forever? (Just make sure to use Windows' equivalent
of pthread_once(), so you're thread-safe.)

/* Steinar */

-- 
Software Engineer, Google Norway
Received on 2009-05-18