Added a comment that should make clear my last accidental commit doesn't fix anything.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19696 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c6f9f65dff
commit
efe7244436
@ -144,6 +144,7 @@ CursorManager::RemoveCursor(ServerCursor* cursor)
|
||||
if (!Lock())
|
||||
return false;
|
||||
|
||||
// TODO: this doesn't work as it looks like, and it's not safe!
|
||||
if (cursor->ReferenceCount() > 0) {
|
||||
// cursor has been referenced again in the mean time
|
||||
Unlock();
|
||||
|
Loading…
Reference in New Issue
Block a user