summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ThreadPool.cpp')
-rw-r--r--cpp/src/Ice/ThreadPool.cpp8
1 files changed, 0 insertions, 8 deletions
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;
}
}