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())
|
if (!Lock())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// TODO: this doesn't work as it looks like, and it's not safe!
|
||||||
if (cursor->ReferenceCount() > 0) {
|
if (cursor->ReferenceCount() > 0) {
|
||||||
// cursor has been referenced again in the mean time
|
// cursor has been referenced again in the mean time
|
||||||
Unlock();
|
Unlock();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user