From 2e4ba353940e5ee8344be331ac40d5da92030213 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Thu, 15 Mar 2018 20:05:31 +0100 Subject: Potential UWP fix to solve controller crashes (ICE-8713) --- cpp/src/Ice/ThreadPool.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'cpp/src/Ice/ThreadPool.cpp') diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp index 6d514a48891..e80c1bed13f 100644 --- a/cpp/src/Ice/ThreadPool.cpp +++ b/cpp/src/Ice/ThreadPool.cpp @@ -989,14 +989,6 @@ IceInternal::ThreadPool::startMessage(ThreadPoolCurrent& current) _workQueue->queue(new FinishedWorkItem(current._handler, false)); _selector.finish(current._handler.get()); } -#ifdef ICE_OS_UWP - // If async operations are no longer pending, clear the completion handler to break - // the cyclic reference count. - if(!current._handler->_started) - { - current._handler->getNativeInfo()->setCompletedHandler(nullptr); - } -#endif return false; } } -- cgit v1.2.3