Avoid freeing the servant for now, it looks like something is messed up

* evolution-shell-component-client.c (destroy_listener_interface):
Avoid freeing the servant for now, it looks like something is
messed up and this causes a crash on exit.

* evolution-storage-set-view-listener.c (impl_finalize): Do not
invoke POA_GNOME_Evolution_StorageSetViewListener__fini().

* evolution-storage-listener.c (impl_finalize): Do not invoke
POA_GNOME_Evolution_StorageListener__fini().

* e-shell-offline-sync.c (progress_listener_servant_free): Do not
invoke POA_GNOME_Evolution_SyncFolderProgressListener__fini().

* e-shell-offline-handler.c (progress_listener_servant_free): Do
not invoke POA_GNOME_Evolution_OfflineProgressListener__fini().

* e-corba-storage.c (impl_dispose): Do not invoke
POA_GNOME_Evolution_StorageListener__fini().

* evolution-shell-component-client.c (destroy_listener_interface):
Do not invoke POA_GNOME_Evolution_ShellComponentListener__fini().

svn path=/trunk/; revision=18759
This commit is contained in:
Ettore Perazzoli
2002-11-14 20:48:58 +00:00
parent 60daa6d24b
commit 7a6310d118
7 changed files with 25 additions and 11 deletions

View File

@ -253,11 +253,10 @@ destroy_listener_interface (EvolutionShellComponentClient *client)
oid = PortableServer_POA_servant_to_id (bonobo_poa (), priv->listener_servant, &ev);
PortableServer_POA_deactivate_object (bonobo_poa (), oid, &ev);
POA_GNOME_Evolution_ShellComponentListener__fini (priv->listener_servant, &ev);
CORBA_free (oid);
CORBA_Object_release (priv->listener_interface, &ev);
free_ShellComponentListener_servant (priv->listener_servant);
/* free_ShellComponentListener_servant (priv->listener_servant); */
CORBA_exception_free (&ev);
}