summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/timeout/TestI.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-10-15 19:08:37 +0200
committerJose <jose@zeroc.com>2012-10-15 19:08:37 +0200
commitb686c08672e2ff3880bfc41c556c8107d16bd0ca (patch)
treeb09ffac533f008b292443a14cff909d0c9acfda5 /cpp/test/Ice/timeout/TestI.cpp
parentFixed Windows build (diff)
downloadice-b686c08672e2ff3880bfc41c556c8107d16bd0ca.tar.bz2
ice-b686c08672e2ff3880bfc41c556c8107d16bd0ca.tar.xz
ice-b686c08672e2ff3880bfc41c556c8107d16bd0ca.zip
WinRT fixes
Diffstat (limited to 'cpp/test/Ice/timeout/TestI.cpp')
-rw-r--r--cpp/test/Ice/timeout/TestI.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/test/Ice/timeout/TestI.cpp b/cpp/test/Ice/timeout/TestI.cpp
index 49f69df816f..9d1a2eab7d8 100644
--- a/cpp/test/Ice/timeout/TestI.cpp
+++ b/cpp/test/Ice/timeout/TestI.cpp
@@ -57,7 +57,8 @@ TimeoutI::holdAdapter(Ice::Int to, const Ice::Current& current)
{
current.adapter->hold();
IceUtil::ThreadPtr thread = new ActivateAdapterThread(current.adapter, to);
- thread->start();
+ IceUtil::ThreadControl threadControl = thread->start();
+ threadControl.detach();
}
void