[Orbit-python-list] Latest commits
Status: Inactive
Brought to you by:
tack
From: Jason T. <ta...@li...> - 2000-08-19 01:40:34
|
Here is an excerpt from the ChangeLog: * PortableServer.c: fixed a leak in activate_object(); implemented reference_to_servant(); removed deprecated method RootPOA(); removed the _servant attribute from servant implementation instances (this was a hack anyway) * marshal.c: fixed a leak in marshal_sequence and marshal_struct * CORBAmodule.c: changed CORBA_Object_to_PyObject_hash to hash on addresses, not typecodes; CORBA_PyObject__dealloc now properly frees the CORBA object; moved PortableServer module initialization into a separate file and module (PortableServermodule.c) * server.c: freeing a servant will deactivate it if necessary; fixed various leaks and bugs with the servant destructor; fixed a leak with exceptions in operation_skel; new_poa_servant adds new servants to the CORBA_Object_to_PyObject_hash so they can be fetched by reference_to_ servant() * fixed CORBA_Environment leaks all over the place * fixed a few other leaks that I can't remember * various debugging information added; the debug level is inconsistent all over the place -- this will need to be fixed. * removed Instance::throw_away function from test-suite.idl, replaced with Factory::discard_instance(); some other small changes to the test server and clients. This commit represents a great number of leaks plugged. Also, I'm amazed the POA worked as well as it did; activate_object, deactivate_object, and the servant's destructor were not done properly at all. Things should be working now. Roland, please bang on this one and let me know if you find anymore leaks. I'd like to now focus my attention on standards compliance. I'm going to play with the idea for that "black magic" IDL directory scanning at load time and see how that performs. I'm tempted to say there won't be a significant performance penalty, but we shall see. Jason. |