diff options
author | bala <balanatarajan@users.noreply.github.com> | 2003-12-07 06:03:29 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2003-12-07 06:03:29 +0000 |
commit | b1cdcb88f1ac728c8ce96c4fde8a425290aaa2ec (patch) | |
tree | 9b758c90c73ba2f1d690edc4dd4c25fb18989948 /TAO/tao/DynamicInterface/DII_Reply_Dispatcher.cpp | |
parent | 2543112057d6827d000a60f86cc0f8d4e77bd25a (diff) | |
download | ATCD-b1cdcb88f1ac728c8ce96c4fde8a425290aaa2ec.tar.gz |
ChangeLogTag:Sat Dec 6 23:42:13 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/DynamicInterface/DII_Reply_Dispatcher.cpp')
-rw-r--r-- | TAO/tao/DynamicInterface/DII_Reply_Dispatcher.cpp | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/TAO/tao/DynamicInterface/DII_Reply_Dispatcher.cpp b/TAO/tao/DynamicInterface/DII_Reply_Dispatcher.cpp index bf713b3a628..12b659004f6 100644 --- a/TAO/tao/DynamicInterface/DII_Reply_Dispatcher.cpp +++ b/TAO/tao/DynamicInterface/DII_Reply_Dispatcher.cpp @@ -20,21 +20,8 @@ ACE_RCSID(DynamicInterface, TAO_DII_Deferred_Reply_Dispatcher::TAO_DII_Deferred_Reply_Dispatcher ( const CORBA::Request_ptr req, TAO_ORB_Core *orb_core) - : TAO_Asynch_Reply_Dispatcher_Base (orb_core), - db_ (sizeof buf_, - ACE_Message_Block::MB_DATA, - this->buf_, - orb_core->input_cdr_buffer_allocator (), - orb_core->locking_strategy (), - ACE_Message_Block::DONT_DELETE, - orb_core->input_cdr_dblock_allocator ()), - reply_cdr_ (&db_, - ACE_Message_Block::DONT_DELETE, - TAO_ENCAP_BYTE_ORDER, - TAO_DEF_GIOP_MAJOR, - TAO_DEF_GIOP_MINOR, - orb_core), - req_ (req) + : TAO_Asynch_Reply_Dispatcher_Base (orb_core) + , req_ (req) { } @@ -109,9 +96,8 @@ TAO_DII_Deferred_Reply_Dispatcher::dispatch_reply ( } ACE_ENDTRY; - // This was dynamically allocated. Now the job is done. Commit - // suicide here. - delete this; + // This was dynamically allocated. Now the job is done. + (void) this->decr_refcount (); return 1; } @@ -150,4 +136,7 @@ TAO_DII_Deferred_Reply_Dispatcher::connection_closed (void) } } ACE_ENDTRY; + ACE_CHECK; + + (void) this->decr_refcount (); } |