diff options
| author | Dmitry Stogov <dmitry@php.net> | 2006-11-17 11:40:52 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2006-11-17 11:40:52 +0000 |
| commit | c06f9e1efe5375abcbb507876e04e893885e4ade (patch) | |
| tree | 1fec799294f4e5db9b88dcbaa46f62aa6a6886a4 /ext/com_dotnet/com_dotnet.c | |
| parent | cb4b75f155950d57979c5c69c37e78d46f60d3d7 (diff) | |
| download | php-git-c06f9e1efe5375abcbb507876e04e893885e4ade.tar.gz | |
COM initialization/deinitialization are done only if necessary
Diffstat (limited to 'ext/com_dotnet/com_dotnet.c')
| -rw-r--r-- | ext/com_dotnet/com_dotnet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/com_dotnet/com_dotnet.c b/ext/com_dotnet/com_dotnet.c index 4edeff5ac0..b1d63a418b 100644 --- a/ext/com_dotnet/com_dotnet.c +++ b/ext/com_dotnet/com_dotnet.c @@ -193,6 +193,7 @@ PHP_FUNCTION(com_dotnet_create_instance) char *where = ""; IUnknown *unk = NULL; + php_com_initialize(TSRMLS_C); if (COMG(dotnet_runtime_stuff) == NULL) { hr = dotnet_init(&where TSRMLS_CC); if (FAILED(hr)) { |
