diff options
author | John Hurliman | 2009-10-22 11:07:23 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-22 11:07:23 -0700 |
commit | 36b0e5e1d3112212ef988a8b2e7c10284c7e9276 (patch) | |
tree | 1b6d9cc95e4dad85378e773e803e1db5825b6fc4 /OpenSim/Framework/Util.cs | |
parent | * Added a check if Util.m_ThreadPool is null before trying to use it, and if ... (diff) | |
download | opensim-SC_OLD-36b0e5e1d3112212ef988a8b2e7c10284c7e9276.zip opensim-SC_OLD-36b0e5e1d3112212ef988a8b2e7c10284c7e9276.tar.gz opensim-SC_OLD-36b0e5e1d3112212ef988a8b2e7c10284c7e9276.tar.bz2 opensim-SC_OLD-36b0e5e1d3112212ef988a8b2e7c10284c7e9276.tar.xz |
Terrible typo in the previous commit!
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r-- | OpenSim/Framework/Util.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index a18a827..b96367a 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -1345,7 +1345,7 @@ namespace OpenSim.Framework | |||
1345 | wrapper.FireAndForget(callback, obj); | 1345 | wrapper.FireAndForget(callback, obj); |
1346 | break; | 1346 | break; |
1347 | case FireAndForgetMethod.SmartThreadPool: | 1347 | case FireAndForgetMethod.SmartThreadPool: |
1348 | if (m_ThreadPool != null) | 1348 | if (m_ThreadPool == null) |
1349 | m_ThreadPool = new SmartThreadPool(2000, 15, 2); | 1349 | m_ThreadPool = new SmartThreadPool(2000, 15, 2); |
1350 | m_ThreadPool.QueueWorkItem(delegate(object o) { callback(o); return null; }, obj); | 1350 | m_ThreadPool.QueueWorkItem(delegate(object o) { callback(o); return null; }, obj); |
1351 | break; | 1351 | break; |