From 45c4760b5bfaefa00b039ee66a7d2bd129e07762 Mon Sep 17 00:00:00 2001 From: gokhale Date: Sun, 10 Aug 1997 14:24:28 +0000 Subject: A new suite of benchmark code is added. This one for VisiBroker. --- .../Marshal_Test/VisiBroker/visi_marshal_client.i | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.i (limited to 'TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.i') diff --git a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.i b/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.i new file mode 100644 index 00000000000..fb8c5823848 --- /dev/null +++ b/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.i @@ -0,0 +1,21 @@ + +ACE_INLINE +Visi_Marshal_Client_Proxy::Visi_Marshal_Client_Proxy (void) + : orb_ (CORBA_ORB::_nil ()), + ref_ (0) +{ +} + +ACE_INLINE +Visi_Marshal_Client_Proxy::~Visi_Marshal_Client_Proxy (void) +{ + // releasing order is important + + // release the reference + CORBA::release (ref_); + + // release the ORB + CORBA::release (orb_); +} + + -- cgit v1.2.1