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:
Axel Dörfler
2005-11-30 16:22:18 +00:00
parent a631158a62
commit dd43887c95
-1
View File
@@ -714,7 +714,6 @@ Desktop::AddWindow(WindowLayer *window)
BAutolock _(this);
if (fWindowLayerList.HasItem(window)) {
Unlock();
debugger("AddWindowLayer: WindowLayer already in Desktop list\n");
return;
}