diff options
| -rwxr-xr-x | indra/llcommon/lleventcoro.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/indra/llcommon/lleventcoro.cpp b/indra/llcommon/lleventcoro.cpp index c8c43dc334..2d5f964deb 100755 --- a/indra/llcommon/lleventcoro.cpp +++ b/indra/llcommon/lleventcoro.cpp @@ -244,8 +244,8 @@ LLSD llcoro::suspendUntilEventOnWithTimeout(const LLEventPumpOrPumpName& suspend      LLEventTimeout timeoutPump;      LLEventPump &suspendPump = suspendPumpOrName.getPump(); -    LLTempBoundListener timeoutListener = timeoutPump.listen(suspendPump.getName(),  -            boost::bind(&LLEventPump::post, &suspendPump, _1)); +    LLTempBoundListener timeoutListener(timeoutPump.listen(suspendPump.getName(),  +            boost::bind(&LLEventPump::post, &suspendPump, _1)));      timeoutPump.eventAfter(timeoutin, timeoutResult);      return llcoro::suspendUntilEventOn(suspendPump); | 
