diff options
author | Harald Radi <phanto@php.net> | 2001-08-15 10:39:59 +0000 |
---|---|---|
committer | Harald Radi <phanto@php.net> | 2001-08-15 10:39:59 +0000 |
commit | c674638dd01b8399c032c59edaab54f55343dcb5 (patch) | |
tree | 98073ddc37a97abae8c73104cb7d4c98723dfbcc /ext/dotnet/dotnet.cpp | |
parent | 8300abe36780f90baca3afb755a0f1031cf1a8e6 (diff) | |
download | php-git-c674638dd01b8399c032c59edaab54f55343dcb5.tar.gz |
removed CoInitialize() and CoUninitialize()
Diffstat (limited to 'ext/dotnet/dotnet.cpp')
-rw-r--r-- | ext/dotnet/dotnet.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/dotnet/dotnet.cpp b/ext/dotnet/dotnet.cpp index 7461dd2a17..24a7b26315 100644 --- a/ext/dotnet/dotnet.cpp +++ b/ext/dotnet/dotnet.cpp @@ -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; } |