diff options
Diffstat (limited to 'TAO/tests/DII_Collocation_Tests/twoway/Collocated_Test.cpp')
-rw-r--r-- | TAO/tests/DII_Collocation_Tests/twoway/Collocated_Test.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/TAO/tests/DII_Collocation_Tests/twoway/Collocated_Test.cpp b/TAO/tests/DII_Collocation_Tests/twoway/Collocated_Test.cpp index 3e2bab6c3fc..4d831212bad 100644 --- a/TAO/tests/DII_Collocation_Tests/twoway/Collocated_Test.cpp +++ b/TAO/tests/DII_Collocation_Tests/twoway/Collocated_Test.cpp @@ -69,7 +69,6 @@ main (int argc, char *argv[]) satc.get_TCHAR_argv (), server_orb.c_str () ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; ACE_Manual_Event me; Server_Task server_task (output, @@ -94,7 +93,6 @@ main (int argc, char *argv[]) catc.get_TCHAR_argv (), client_orb.c_str () ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; Client_Task client_task (input, simple_test_input, @@ -112,12 +110,10 @@ main (int argc, char *argv[]) ACE_Thread_Manager::instance ()->wait (); // Now that all threads have completed we can destroy the ORB - sorb->destroy (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; + sorb->destroy (); if (server_orb != client_orb) { - corb->destroy (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; + corb->destroy (); } CORBA::ULong errors = client_task.error_count () + server_task.error_count (); |