Skip to content

Commit e379962

Browse files
Merge pull request #3017 from secondlife/maxim/viewer-2884
#2884 fix for stalls caused by coro suspend
2 parents ef4b74e + 8a15edb commit e379962

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

indra/llcommon/llcoros.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ LLBoundListener LLCoros::getStopListener(const std::string& caller,
472472
// This overload responds to viewer shutdown and to killreq(consumer).
473473
return LLEventPumps::instance().obtain("LLCoros")
474474
.listen(
475-
LLEventPump::inventName(caller),
475+
caller,
476476
[consumer, cleanup](const LLSD& event)
477477
{
478478
auto status{ event["status"].asString() };

indra/llcommon/lleventcoro.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ postAndSuspendSetup(const std::string& callerName,
168168
// notice the pending LLApp status first.
169169
LLBoundListener stopper(
170170
LLCoros::getStopListener(
171-
listenerName,
171+
LLEventPump::ANONYMOUS,
172172
LLCoros::instance().getName(),
173173
[&promise, listenerName](const LLSD& status)
174174
{

indra/llcommon/lualistener.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ LuaListener::LuaListener(lua_State* L):
4040
// Listen for shutdown events.
4141
mShutdownConnection(
4242
LLCoros::getStopListener(
43-
"LuaState",
43+
LLEventPump::ANONYMOUS,
4444
mCoroName,
4545
[this](const LLSD&)
4646
{

0 commit comments

Comments
 (0)