fix an issue that sockets are not synchronized automatically on changing target of Node/Ref
This commit is contained in:
@@ -143,6 +143,7 @@ class Ref final : public nf7::FileBase, public nf7::Node {
|
||||
std::make_shared<nf7::GenericContext>(*this, "change path"),
|
||||
[this, &target, p = std::move(p)]() mutable {
|
||||
target = std::move(p);
|
||||
SyncQuiet();
|
||||
mem_.Commit();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user