From 6ffbed484ac9bc8358db44b420a3d598d14b72ac Mon Sep 17 00:00:00 2001 From: Brad Kittenbrink Date: Wed, 1 May 2019 15:28:55 -0700 Subject: Fix stall during login by yielding when needed from the LLXXMLRPCListener's Poller. --- indra/newview/llxmlrpclistener.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/indra/newview/llxmlrpclistener.cpp b/indra/newview/llxmlrpclistener.cpp index 7bc8af4a0b..5871161032 100644 --- a/indra/newview/llxmlrpclistener.cpp +++ b/indra/newview/llxmlrpclistener.cpp @@ -43,6 +43,7 @@ // other Linden headers #include "llerror.h" +#include "lleventcoro.h" #include "stringize.h" #include "llxmlrpctransaction.h" #include "llsecapi.h" @@ -401,6 +402,8 @@ public: // whether successful or not, send reply on requested LLEventPump replyPump.post(data); + // need to wake up the loginCoro now + llcoro::suspend(); // Because mTransaction is a boost::scoped_ptr, deleting this object // frees our LLXMLRPCTransaction object. -- cgit v1.2.3