summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2018-03-15 20:05:31 +0100
committerBenoit Foucher <benoit@zeroc.com>2018-03-15 20:05:31 +0100
commit2e4ba353940e5ee8344be331ac40d5da92030213 (patch)
tree7f6e25a432541202f2800bbe42b022cbfa3cbcdb /cpp/src/Ice/ThreadPool.cpp
parentICE-8703 - Removing PHP_DEBUG config (diff)
downloadice-2e4ba353940e5ee8344be331ac40d5da92030213.tar.bz2
ice-2e4ba353940e5ee8344be331ac40d5da92030213.tar.xz
ice-2e4ba353940e5ee8344be331ac40d5da92030213.zip
Potential UWP fix to solve controller crashes (ICE-8713)
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;
}
}