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
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user