summaryrefslogtreecommitdiff
path: root/ext/dotnet/dotnet.cpp
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2001-08-15 10:39:59 +0000
committerHarald Radi <phanto@php.net>2001-08-15 10:39:59 +0000
commitc674638dd01b8399c032c59edaab54f55343dcb5 (patch)
tree98073ddc37a97abae8c73104cb7d4c98723dfbcc /ext/dotnet/dotnet.cpp
parent8300abe36780f90baca3afb755a0f1031cf1a8e6 (diff)
downloadphp-git-c674638dd01b8399c032c59edaab54f55343dcb5.tar.gz
removed CoInitialize() and CoUninitialize()
Diffstat (limited to 'ext/dotnet/dotnet.cpp')
-rw-r--r--ext/dotnet/dotnet.cpp5
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;
}