Closed vxgmichel closed 2 years ago
Thanks for the report Vincent.
After talking with @taurel, it seems like your problem is linked to issue #145. The comments in this ticket explain well what you are seeing.
It all comes because omniORB manages the ORB object as a singleton.
To solve #145, the "client" ORB is destroyed when the device server is started, to get a "server" ORB. By doing so, it invalidates all the CORBA objects which were created before the "client" ORB destruction.
Thanks for the quick help.
If it cannot be fixed, it would be great to display an error message if some client objects were alive at the moment of the ORB destruction, so we would be warned.
It can easily be reproduced using the following pytango server:
Exception: