Reset write_lock_requested bool to false after the write lock notification.

This commit is contained in:
Relintai 2022-02-10 17:39:58 +01:00
parent a3119b8b09
commit c679ad05f4

View File

@ -30,6 +30,8 @@ void NodeTree::update() {
_rw_lock.write_lock();
_root_node->notification(Node::NOTIFICATION_TREE_WRITE_LOCKED);
_rw_lock.write_unlock();
_write_lock_requested = false;
}
}