Fixed the newly introduced hang when a menu item was selected (which was only one

of the consequences): a forgotten rootLayer->Lock()...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13458 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-07-05 18:46:59 +00:00
parent 0bb8508592
commit 4902831aca

View File

@ -583,7 +583,7 @@ ServerWindow::_DispatchMessage(int32 code, BPrivate::LinkReceiver &link)
// area assuming that the view was visible when removed
STRACE(("ServerWindow %s: AS_LAYER_DELETE(self)...\n", fTitle));
myRootLayer->Lock();
Layer *parent = fCurrentLayer->fParent;
BRegion *invalidRegion = NULL;