Fix stall during login by yielding when needed from the LLXXMLRPCListener's Poller.

master
Brad Kittenbrink 2019-05-01 15:28:55 -07:00
parent a516c0fdde
commit fd980f8da2
1 changed files with 3 additions and 0 deletions

View File

@ -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.