Skip to content
Snippets Groups Projects
Commit 1ed391d2 authored by Charles Lesire's avatar Charles Lesire
Browse files

[vnet] fix patch

parent 3678ee16
No related branches found
No related tags found
No related merge requests found
......@@ -2,4 +2,4 @@ SHA1 (vnet-yarp-0.2.tar.gz) = 0ade67a18b108916c95dadfaa7355a97f72faefd
RMD160 (vnet-yarp-0.2.tar.gz) = 34e797c806afc5b27aeeb270fe2f2dc4e497bd95
Size (vnet-yarp-0.2.tar.gz) = 10139 bytes
SHA1 (patch-aa) = 07ecf0f7bc4644da46e9cf5543c8505dc8ed9f53
SHA1 (patch-ba) = 916b1476e47517769c59045680b5d047413b5028
SHA1 (patch-ba) = 15422cf266df548e33c73a591a5dc045059a304b
......@@ -6,7 +6,7 @@
if (current_dst != dst) {
- port.close();
- port.open(local_uri.c_str());
+ ::yarp::os::Network::disconnect(local_uri.c_str(), dst.c_str());
+ ::yarp::os::Network::disconnect(local_uri.c_str(), current_dst.c_str());
port.addOutput(dst.c_str());
current_dst = dst;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment