SystemProfiler::EventOccurred(): We must not access the object after
releasing our reference to it. So return immediately after having done that. Previously the _MaybeNotifyProfilerThread() that innocently lurked at the end of the method would be invoked, playing with the dead beef. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35357 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -612,9 +612,10 @@ SystemProfiler::EventOccurred(NotificationService& service,
|
|||||||
locker.Unlock();
|
locker.Unlock();
|
||||||
|
|
||||||
RemoveReference();
|
RemoveReference();
|
||||||
} else
|
return;
|
||||||
_TeamRemoved(team);
|
}
|
||||||
|
|
||||||
|
_TeamRemoved(team);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TEAM_EXEC:
|
case TEAM_EXEC:
|
||||||
|
|||||||
Reference in New Issue
Block a user