Skip to content

Commit

Permalink
Release channel0 after modified.
Browse files Browse the repository at this point in the history
  • Loading branch information
clemahieu committed Sep 20, 2020
1 parent 94978ad commit fff9711
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nano/core_test/network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -845,6 +845,7 @@ TEST (network, replace_port)
channel_a->set_last_packet_received (fake_timepoint);
channel_a->set_last_packet_sent (fake_timepoint);
});
channel0.reset ();
ASSERT_TIMELY (10s, node0->network.udp_channels.size () <= 1);
ASSERT_EQ (node0->network.udp_channels.size (), 1);
auto list1 (node0->network.list (1));
Expand Down

0 comments on commit fff9711

Please sign in to comment.