removed CoInitialize() and CoUninitialize()

This commit is contained in:
Harald Radi 2001-08-15 10:39:59 +00:00
parent 8300abe367
commit c674638dd0
4 changed files with 16 additions and 22 deletions

View file

@ -209,9 +209,7 @@ PHP_MINIT_FUNCTION(DOTNET)
{
HRESULT hr;
CoInitialize(0);
hr = dotnet_init();
if (FAILED(hr)) {
if (FAILED(hr = dotnet_init())) {
return hr;
}
@ -223,7 +221,6 @@ PHP_MINIT_FUNCTION(DOTNET)
PHP_MSHUTDOWN_FUNCTION(DOTNET)
{
dotnet_term();
CoUninitialize();
return SUCCESS;
}