diff options
author | UbitUmarov | 2016-11-22 22:29:13 +0000 |
---|---|---|
committer | UbitUmarov | 2016-11-22 22:29:13 +0000 |
commit | 59f6353ac1270f8b8967ad515e2f06331f44c295 (patch) | |
tree | 6fd876d467ee68cb5baaeebd0c1d0a130fcb700f /OpenSim | |
parent | full change ServiceThrottleModule. Let it still service RegionHandleRequest a... (diff) | |
download | opensim-SC_OLD-59f6353ac1270f8b8967ad515e2f06331f44c295.zip opensim-SC_OLD-59f6353ac1270f8b8967ad515e2f06331f44c295.tar.gz opensim-SC_OLD-59f6353ac1270f8b8967ad515e2f06331f44c295.tar.bz2 opensim-SC_OLD-59f6353ac1270f8b8967ad515e2f06331f44c295.tar.xz |
close a resource on jobengine.close()
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/Monitoring/JobEngine.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Monitoring/JobEngine.cs b/OpenSim/Framework/Monitoring/JobEngine.cs index 7709f62..df6b806 100644 --- a/OpenSim/Framework/Monitoring/JobEngine.cs +++ b/OpenSim/Framework/Monitoring/JobEngine.cs | |||
@@ -136,7 +136,8 @@ namespace OpenSim.Framework.Monitoring | |||
136 | if(m_jobQueue.Count <= 0) | 136 | if(m_jobQueue.Count <= 0) |
137 | m_cancelSource.Cancel(); | 137 | m_cancelSource.Cancel(); |
138 | 138 | ||
139 | m_finishedProcessingAfterStop.WaitOne(RequestProcessTimeoutOnStop); | 139 | if(m_finishedProcessingAfterStop.WaitOne(RequestProcessTimeoutOnStop)) |
140 | m_finishedProcessingAfterStop.Close(); | ||
140 | } | 141 | } |
141 | finally | 142 | finally |
142 | { | 143 | { |