CORBA_Object_release
- From: Ivica Loncar <lethe fly srk fer hr>
- To: orbit-list gnome org
- Subject: CORBA_Object_release
- Date: 30 Jul 2002 20:17:29 +0200
If I create ORBit_RootObject via:
orb = CORBA_ORB_init(&argc, argv, "orbit-local-orb", &ev);
is it ok to release object with:
CORBA_Object_release((CORBA_Object)orb, &ev);
I ask this because if I use CORBA_Object_release((CORBA_Object)orb,
&ev); I get
** (process:3249): WARNING **: CORBA_ORB_destroy: ORB still has 0 refs.
** ERROR **: file orbit-object.c: line 140 (do_unref): assertion failed: (robj->refs < ORBIT_REFCOUNT_MAX && robj->refs > 0)
aborting...
If I do not release that reference it seems everything is fine on
client side (in other words: there are no complaints). On the server
side I still get (it is a question why):
** (process:3248): WARNING **: CORBA_ORB_destroy: ORB still has 2 refs.
Why is this happening? (I use Orbit2-2.4.0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]