From ded7d2bc597188ee4e93f0f55bed446391bcd7ff Mon Sep 17 00:00:00 2001 From: "mhammond%skippinet.com.au" Date: Wed, 6 Mar 2002 10:19:27 +0000 Subject: [PATCH] Integrate Linux init/term functions with Windows. Not part of the build. git-svn-id: svn://10.0.0.236/trunk@115950 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/python/xpcom/src/dllmain.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mozilla/extensions/python/xpcom/src/dllmain.cpp b/mozilla/extensions/python/xpcom/src/dllmain.cpp index 19cd9f42a69..23179c1f074 100644 --- a/mozilla/extensions/python/xpcom/src/dllmain.cpp +++ b/mozilla/extensions/python/xpcom/src/dllmain.cpp @@ -219,13 +219,12 @@ BOOL WINAPI DllMain(HANDLE hInstance, DWORD dwReason, LPVOID lpReserved) { switch (dwReason) { case DLL_PROCESS_ATTACH: { - if (!_init()) - return FALSE; + pyxpcom_construct(); break; } case DLL_PROCESS_DETACH: { - _fini(); + pyxpcom_destruct(); break; } default: