FIXED Crash in LLGroupMgr::notifyObservers() when closing a group invitation before the group properties arrive
parent
cedfff1312
commit
ade46cfee0
|
|
@ -381,7 +381,7 @@ LLGroupNoticeNotificationListItem::LLGroupNoticeNotificationListItem(const Param
|
|||
buildFromFile("panel_notification_list_item.xml");
|
||||
}
|
||||
|
||||
LLGroupNoticeNotificationListItem::~LLGroupNoticeNotificationListItem()
|
||||
LLGroupNotificationListItem::~LLGroupNotificationListItem()
|
||||
{
|
||||
LLGroupMgr::getInstance()->removeObserver(this);
|
||||
}
|
||||
|
|
@ -539,7 +539,6 @@ void LLGroupNoticeNotificationListItem::close()
|
|||
mInventoryOffer->forceResponse(IOR_DECLINE);
|
||||
mInventoryOffer = NULL;
|
||||
}
|
||||
LLGroupMgr::getInstance()->removeObserver(this);
|
||||
}
|
||||
|
||||
void LLGroupNoticeNotificationListItem::onClickAttachment()
|
||||
|
|
|
|||
|
|
@ -136,6 +136,7 @@ class LLGroupNotificationListItem
|
|||
: public LLNotificationListItem, public LLGroupMgrObserver
|
||||
{
|
||||
public:
|
||||
virtual ~LLGroupNotificationListItem();
|
||||
virtual BOOL postBuild();
|
||||
|
||||
void setGroupId(const LLUUID& value);
|
||||
|
|
@ -192,7 +193,6 @@ class LLGroupNoticeNotificationListItem
|
|||
: public LLGroupNotificationListItem
|
||||
{
|
||||
public:
|
||||
~LLGroupNoticeNotificationListItem();
|
||||
static std::set<std::string> getTypes();
|
||||
virtual BOOL postBuild();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue