aboutsummaryrefslogtreecommitdiff
path: root/perf
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-05-03 11:13:36 -0700
committerGarrett D'Amore <garrett@damore.org>2018-05-03 11:13:36 -0700
commitfa986e725f08e30eab68e16765b2cf71613b871c (patch)
tree87fb23b042a3103d7a8921b3c533f7e7c3e02a59 /perf
parent159dc95695515db767e208c41d5f44b334b71adc (diff)
downloadnng-fa986e725f08e30eab68e16765b2cf71613b871c.tar.gz
nng-fa986e725f08e30eab68e16765b2cf71613b871c.tar.bz2
nng-fa986e725f08e30eab68e16765b2cf71613b871c.zip
Fix failures in pipe test on Windows.
The problem was that with inproc we could wind up calling the completion callback before actually returning the dialer ID to the structure, leading to false comparison failures. Creating the dialer and listener in separate steps ensures that we have IDs in place for them before any callback might be issued. Note that this was a bug in the test logic only, and not a problem with the underlying implementation.
Diffstat (limited to 'perf')
0 files changed, 0 insertions, 0 deletions