зеркало из https://github.com/mozilla/pjs.git
Integrate Linux init/term functions with Windows.
Not part of the build.
This commit is contained in:
Родитель
2dbc99fc58
Коммит
dd9cad62eb
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче