mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-05-06 17:51:36 +02:00
Reset write_lock_requested bool to false after the write lock notification.
This commit is contained in:
parent
a3119b8b09
commit
c679ad05f4
@ -30,6 +30,8 @@ void NodeTree::update() {
|
|||||||
_rw_lock.write_lock();
|
_rw_lock.write_lock();
|
||||||
_root_node->notification(Node::NOTIFICATION_TREE_WRITE_LOCKED);
|
_root_node->notification(Node::NOTIFICATION_TREE_WRITE_LOCKED);
|
||||||
_rw_lock.write_unlock();
|
_rw_lock.write_unlock();
|
||||||
|
|
||||||
|
_write_lock_requested = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user