aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ChangeLog.txt6
-rw-r--r--linden/indra/llmessage/llpumpio.cpp8
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 3d8166f..c2c4669 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,9 @@
12009-02-17 McCabe Maxsted <hakushakukun@gmail.com>
2
3 * linden/indra/llmessage/llpumpio.cpp:
4 Fixed crash in Top Scripts.
5
6
12009-02-15 McCabe Maxsted <hakushakukun@gmail.com> 72009-02-15 McCabe Maxsted <hakushakukun@gmail.com>
2 8
3 * linden/indra/llcommon/llsdserialize.cpp: 9 * linden/indra/llcommon/llsdserialize.cpp:
diff --git a/linden/indra/llmessage/llpumpio.cpp b/linden/indra/llmessage/llpumpio.cpp
index 9ce0bab..467502b 100644
--- a/linden/indra/llmessage/llpumpio.cpp
+++ b/linden/indra/llmessage/llpumpio.cpp
@@ -177,7 +177,8 @@ LLPumpIO::LLPumpIO(apr_pool_t* pool) :
177 mCurrentPool(NULL), 177 mCurrentPool(NULL),
178 mCurrentPoolReallocCount(0), 178 mCurrentPoolReallocCount(0),
179 mChainsMutex(NULL), 179 mChainsMutex(NULL),
180 mCallbackMutex(NULL) 180 mCallbackMutex(NULL),
181 mCurrentChain(mRunningChains.end())
181{ 182{
182 LLMemType m1(LLMemType::MTYPE_IO_PUMP); 183 LLMemType m1(LLMemType::MTYPE_IO_PUMP);
183 initialize(pool); 184 initialize(pool);
@@ -273,7 +274,10 @@ bool LLPumpIO::setTimeoutSeconds(F32 timeout)
273void LLPumpIO::adjustTimeoutSeconds(F32 delta) 274void LLPumpIO::adjustTimeoutSeconds(F32 delta)
274{ 275{
275 // If no chain is running, bail 276 // If no chain is running, bail
276 if(current_chain_t() == mCurrentChain) return; 277 if(mRunningChains.end() == mCurrentChain)
278 {
279 return;
280 }
277 (*mCurrentChain).adjustTimeoutSeconds(delta); 281 (*mCurrentChain).adjustTimeoutSeconds(delta);
278} 282}
279 283