diff options
Diffstat (limited to 'cpp/test/Ice/udp/Client.cpp')
-rw-r--r-- | cpp/test/Ice/udp/Client.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/cpp/test/Ice/udp/Client.cpp b/cpp/test/Ice/udp/Client.cpp index 07d1ae2a74f..b2a93900deb 100644 --- a/cpp/test/Ice/udp/Client.cpp +++ b/cpp/test/Ice/udp/Client.cpp @@ -48,16 +48,7 @@ main(int argc, char* argv[]) initData.properties->setProperty("Ice.UDP.SndSize", "16384"); Ice::CommunicatorHolder ich = Ice::initialize(argc, argv, initData); - int status = run(argc, argv, ich.communicator()); - -#if TARGET_OS_IPHONE != 0 - // - // iOS WORKAROUND: without a sleep before the communicator - // destroy, the close on the UDP socket hangs. - // - IceUtil::ThreadControl::sleep(IceUtil::Time::milliSeconds(500)); -#endif - return status; + return run(argc, argv, ich.communicator()); } catch(const Ice::Exception& ex) { |