summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/udp/Client.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2015-12-14 18:02:17 +0100
committerBenoit Foucher <benoit@zeroc.com>2015-12-14 18:02:17 +0100
commitefe851a5c508fe38379b09d5d027f33178afa5e0 (patch)
tree6c81d5d8485d402908adfeb8a9270c19cd99ddc3 /cpp/test/Ice/udp/Client.cpp
parentC++11 location test fixes (diff)
downloadice-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.cpp11
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)
{