I thought I had found the cause of a bug. Not the case. But still, this looks better.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19332 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -354,8 +354,10 @@ BPopUpMenu::entry(void *arg)
|
||||
delete_sem(data->lock);
|
||||
|
||||
// Commit suicide if needed
|
||||
if (menu->fAutoDestruct)
|
||||
delete menu;
|
||||
if (menu->fAutoDestruct) {
|
||||
menu->fTrackThread = -1;
|
||||
delete menu;
|
||||
}
|
||||
|
||||
if (data->async)
|
||||
delete data;
|
||||
|
||||
Reference in New Issue
Block a user