summaryrefslogtreecommitdiff
path: root/indra/newview/llcommanddispatcherlistener.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2019-10-30 11:18:12 -0400
committerNat Goodspeed <nat@lindenlab.com>2020-03-25 19:05:17 -0400
commitec208ddfacd25409be49fbec00943c79dd24345f (patch)
treea9b7e457d4916b015bb23c6a54a72c9689353c13 /indra/newview/llcommanddispatcherlistener.h
parent7f1a2002142dfcda3cbada729d4fbe961b3bc7bb (diff)
DRTVWR-476: Defend against late ~LLWatchdogTimeout() calls.
LLAppViewer's heap LLWatchdogTimeout might be destroyed very late -- as late as in LLAppViewer's destructor. By that time, LLAppViewer::cleanup() has already called LLSingletonBase::deleteAll(), destroying the LLWatchdog LLSingleton instance. But LLWatchdogTimeout isa LLWatchdogEntry, and ~LLWatchdogEntry() calls stop(), and stop() tries to remove that instance from LLWatchdog, thus inadvertently resurrecting the deleted LLWatchdog. Which is pointless because the resurrected LLWatchdog has never heard of the LLWatchdogTimeout instance trying to remove itself. Defend LLWatchdogEntry::stop() against the case in which LLWatchdog has already been deleted.
Diffstat (limited to 'indra/newview/llcommanddispatcherlistener.h')
0 files changed, 0 insertions, 0 deletions