Author: wrowe Date: Sun Jan 2 22:26:02 2005 New Revision: 123945 URL: http://svn.apache.org/viewcvs?view=rev&rev=123945 Log:
It's not possible for the module to free it's own refcount, and we cannot be unloaded before process teardown. Let the mod_aspdotnet.so persist until Windows terminates the process. Modified: httpd/mod_aspdotnet/trunk/mod/mod_aspdotnet.cpp Modified: httpd/mod_aspdotnet/trunk/mod/mod_aspdotnet.cpp Url: http://svn.apache.org/viewcvs/httpd/mod_aspdotnet/trunk/mod/mod_aspdotnet.cpp?view=diff&rev=123945&p1=httpd/mod_aspdotnet/trunk/mod/mod_aspdotnet.cpp&r1=123944&p2=httpd/mod_aspdotnet/trunk/mod/mod_aspdotnet.cpp&r2=123945 ============================================================================== --- httpd/mod_aspdotnet/trunk/mod/mod_aspdotnet.cpp (original) +++ httpd/mod_aspdotnet/trunk/mod/mod_aspdotnet.cpp Sun Jan 2 22:26:02 2005 @@ -204,8 +204,11 @@ global_conf->pCorRuntime->Release(); } - if (global_conf->lock_module) - FreeLibrary(global_conf->lock_module); + // Although this module should remove itself, we end up in a broken + // state by unloading ourself underneath the running code. + // + // if (global_conf->lock_module) + // FreeLibrary(global_conf->lock_module); return APR_SUCCESS; }