That OleInitialize/Uninitialize business is there to prevent unbalanced Ole init calls in some cases. I did not realize DllMain was called with the loader lock held. Looks like it could cause deadlocks. I'll make move that code to a separate function invoked before the DLL is unloaded .
Jay On Mon, Sep 28, 2009 at 9:15 PM, Darin Fisher <[email protected]> wrote: > I was pulling my hair out trying to figure out how my change could have > caused the browser_tests to hang. So, I removed my patch and rebuilt. > Still it hung. > It turns out that we are calling OleInitialize within DllMain. It seems as > though we are tripping up on the loader lock. > Has anyone else seen this problem? > -Darin > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
