diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-05-04 07:51:29 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-05-04 07:51:29 +0000 |
commit | 7a984a6e7d8c3c8ac27497a0bfde39b854ca481c (patch) | |
tree | 330934dca9f277362579656574afe02bc32699b1 /ACE/ace/Svc_Handler.cpp | |
parent | ce99d63fe0972f467000226fbf4e753e7a2ce2b4 (diff) | |
download | ATCD-7a984a6e7d8c3c8ac27497a0bfde39b854ca481c.tar.gz |
Fri May 4 07:50:37 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/Svc_Handler.cpp')
-rw-r--r-- | ACE/ace/Svc_Handler.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ACE/ace/Svc_Handler.cpp b/ACE/ace/Svc_Handler.cpp index c1af2cdb105..6621e0b445d 100644 --- a/ACE/ace/Svc_Handler.cpp +++ b/ACE/ace/Svc_Handler.cpp @@ -304,7 +304,11 @@ ACE_Svc_Handler<PR_ST_2, ACE_SYNCH_USE>::handle_close (ACE_HANDLE, { ACE_TRACE ("ACE_Svc_Handler<PR_ST_2, ACE_SYNCH_USE>::handle_close"); - this->destroy (); + if (this->reference_counting_policy().value() != + ACE_Event_Handler::Reference_Counting_Policy::ENABLED) + { + this->destroy (); + } return 0; } |