summaryrefslogtreecommitdiff
path: root/cs/src/Ice/ThreadPool.cs
diff options
context:
space:
mode:
Diffstat (limited to 'cs/src/Ice/ThreadPool.cs')
-rw-r--r--cs/src/Ice/ThreadPool.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cs/src/Ice/ThreadPool.cs b/cs/src/Ice/ThreadPool.cs
index 53a44bba830..5b28c54a2b6 100644
--- a/cs/src/Ice/ThreadPool.cs
+++ b/cs/src/Ice/ThreadPool.cs
@@ -220,7 +220,6 @@ namespace IceInternal
for(int i = 0; i < _size; ++i)
{
WorkerThread thread = new WorkerThread(this, _threadPrefix + "-" + _threadIndex++);
- _threads.Add(thread);
#if !SILVERLIGHT
if(_hasPriority)
{
@@ -233,6 +232,7 @@ namespace IceInternal
#else
thread.start();
#endif
+ _threads.Add(thread);
}
}
catch(System.Exception ex)