<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV><FONT face=Arial color=#0000ff size=2></FONT><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
size=2><FONT face=Tahoma><B>From:</B> Attila Czigány
[mailto:atteeharp@gmail.com] <BR><B>Sent:</B> 10 May 2006 17:48<BR><B>To:</B>
Wernke zur Borg<BR><B>Cc:</B> omniorb-list<BR><B>Subject:</B> Re: [omniORB]
Destroying itself<BR></FONT><SPAN class=051282006-15052006><FONT face=Arial
color=#0000ff> </FONT></SPAN></FONT></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
size=2><SPAN class=051282006-15052006><FONT face=Arial
color=#0000ff>[...]</FONT> </SPAN></FONT><BR> I remove_ref() always after
activation, why leave the work over, I thougth others do it the same
way.<BR><SPAN class=051282006-15052006><FONT face=Arial color=#0000ff
size=2>[...]</FONT></SPAN><SPAN class=051282006-15052006> </SPAN></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><SPAN
class=051282006-15052006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV></BLOCKQUOTE>
<DIV class=OutlookMessageHeader lang=en-us><FONT face=Arial><FONT size=2><FONT
color=#0000ff><SPAN class=051282006-15052006>Just one comment to this: Of course
you should call _remove_ref() as soon as you do not need the servant any longer
for your own purpose. This may often be right after its activation, in cases
where only the client accesses it. In this case you can (and should) call
_remove_ref() straight away. But if the servant has its "own life", e.g. as in
my case it sends notifications to a client's listener object without being
invoked by the client, you should not call _remove_ref() until you really do not
need the object for your own (i.e. the server's)
purpose.</SPAN></FONT></FONT></FONT></DIV>
<DIV class=OutlookMessageHeader lang=en-us><FONT face=Arial><FONT size=2><FONT
color=#0000ff><SPAN
class=051282006-15052006></SPAN></FONT></FONT></FONT> </DIV>
<DIV class=OutlookMessageHeader lang=en-us><FONT face=Arial><FONT size=2><FONT
color=#0000ff><SPAN class=051282006-15052006>Regards,
Wernke</SPAN></FONT></FONT></FONT></DIV>
<DIV class=OutlookMessageHeader lang=en-us><FONT face=Arial><FONT size=2><FONT
color=#0000ff><SPAN
class=051282006-15052006></SPAN></FONT></FONT></FONT> </DIV></BODY></HTML>