package daemon: Volume: Make sure move entry events don't get split
This commit is contained in:
parent
9e4096146f
commit
91a9b5f276
|
@ -320,6 +320,9 @@ Volume::_HandleEntryMoved(const BMessage* message)
|
|||
return;
|
||||
}
|
||||
|
||||
AutoLocker<BLocker> eventsLock(fPendingNodeMonitorEventsLock);
|
||||
// make sure for a move the two events cannot get split
|
||||
|
||||
if (fromDirectoryID == fPackagesDirectoryRef.node)
|
||||
_QueueNodeMonitorEvent(fromName, false);
|
||||
if (toDirectoryID == fPackagesDirectoryRef.node)
|
||||
|
|
Loading…
Reference in New Issue