diff options
author | Jose <jose@zeroc.com> | 2012-10-15 19:08:37 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2012-10-15 19:08:37 +0200 |
commit | b686c08672e2ff3880bfc41c556c8107d16bd0ca (patch) | |
tree | b09ffac533f008b292443a14cff909d0c9acfda5 /cpp/test/Ice/timeout/TestI.cpp | |
parent | Fixed Windows build (diff) | |
download | ice-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.cpp | 3 |
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 |