[tao-users] Singleton CORBA object
Christian Fromme
christian at ast.dfs.de
Wed Sep 30 02:34:57 CDT 2015
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?
More information about the tao-users
mailing list