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:
parent
8d9e64aeb2
commit
9e4087372b
|
@ -612,9 +612,10 @@ SystemProfiler::EventOccurred(NotificationService& service,
|
|||
locker.Unlock();
|
||||
|
||||
RemoveReference();
|
||||
} else
|
||||
_TeamRemoved(team);
|
||||
return;
|
||||
}
|
||||
|
||||
_TeamRemoved(team);
|
||||
break;
|
||||
|
||||
case TEAM_EXEC:
|
||||
|
|
Loading…
Reference in New Issue