Forgot to remove the Unlock(), thanks to Stephan for pointing this out.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15242 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -714,7 +714,6 @@ Desktop::AddWindow(WindowLayer *window)
|
||||
BAutolock _(this);
|
||||
|
||||
if (fWindowLayerList.HasItem(window)) {
|
||||
Unlock();
|
||||
debugger("AddWindowLayer: WindowLayer already in Desktop list\n");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user