diff options
Diffstat (limited to 'ace/Service_Object.cpp')
-rw-r--r-- | ace/Service_Object.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ace/Service_Object.cpp b/ace/Service_Object.cpp index 63decf4e9b3..1a4d931659b 100644 --- a/ace/Service_Object.cpp +++ b/ace/Service_Object.cpp @@ -1,12 +1,14 @@ // $Id$ -#include "ace/Service_Types.h" #include "ace/Service_Object.h" #if !defined (__ACE_INLINE__) #include "ace/Service_Object.i" #endif /* __ACE_INLINE__ */ +#include "ace/Service_Types.h" +#include "ace/DLL.h" + ACE_RCSID(ace, Service_Object, "$Id$") ACE_ALLOC_HOOK_DEFINE(ACE_Service_Object) @@ -20,11 +22,11 @@ ACE_Service_Type::dump (void) const ACE_Service_Type::ACE_Service_Type (const ACE_TCHAR *n, ACE_Service_Type_Impl *t, - const ACE_SHLIB_HANDLE h, + const ACE_DLL &dll, int active) : name_ (0), type_ (t), - handle_ (h), + dll_ (dll), active_ (active), fini_already_called_ (0) { @@ -38,9 +40,6 @@ ACE_Service_Type::~ACE_Service_Type (void) this->fini (); - if (this->handle_ != 0) - ACE_OS::dlclose ((ACE_SHLIB_HANDLE) this->handle_); - delete [] (ACE_TCHAR *) this->name_; } |