diff options
author | Benoit Foucher <benoit@zeroc.com> | 2015-12-14 18:02:17 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2015-12-14 18:02:17 +0100 |
commit | efe851a5c508fe38379b09d5d027f33178afa5e0 (patch) | |
tree | 6c81d5d8485d402908adfeb8a9270c19cd99ddc3 /cpp/test/Ice/udp/Client.cpp | |
parent | C++11 location test fixes (diff) | |
download | ice-efe851a5c508fe38379b09d5d027f33178afa5e0.tar.bz2 ice-efe851a5c508fe38379b09d5d027f33178afa5e0.tar.xz ice-efe851a5c508fe38379b09d5d027f33178afa5e0.zip |
Removed iOS workaround from udp test
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) { |