[tao-users] Singleton CORBA object

Siddharth Kulkarni sidd.kulkarni at gmail.com
Wed Sep 30 04:02:37 CDT 2015


No. Tried with commenting remove_ref but it didn't help. Finally sending
duplicated reference works.
Thanks & Regards
Siddharth

On Wed, Sep 30, 2015, 13:04 Christian Fromme <christian at ast.dfs.de> wrote:

> On 29.09. 16:31, Siddharth Kulkarni wrote:
> >   if(m_pServant== nullptr)
> >   {
> >       m_pServant= create_servant();
> >       PortableServer::ObjectId *oid =
> > m_poa->activate_object(m_pServant.in()); // ref count=2
> >   CORBA::Object_ptr retobj = m_poa->id_to_reference(*oid);
> > m_XSvc= ::XService::_narrow(retobj);
> >   m_pServant->_remove_ref();
>
> Hmm.. Maybe the _remove_ref() call causes the problem?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/pipermail/tao-users/attachments/20150930/699802c7/attachment.html>


More information about the tao-users mailing list