Patch - out-proc COM server will hang if class registration fails
From: Dmitry <wipedout_at_yandex.ru>
Date: Wed, 02 Mar 2011 10:19:19 +0300
Hey.
Attached is an untested patch that addresses out-proc COM server hanging forever in case CoRegisterClassObject fails. It also reuses global class factory instead of creating a new one.
Also I totally don't get why DllCanUnloadNow and DllGetClassObject are in that code - that code seems to be only used in an out-proc server and out-proc servers don't need those functions. What's the use of those two functions?
Best wishes.
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.