Skip to content

Commit

Permalink
msg/async: fix missing unlock when already bind
Browse files Browse the repository at this point in the history
Signed-off-by: Haomai Wang <haomai@xsky.com>
  • Loading branch information
yuyuyu101 committed Feb 6, 2017
1 parent 452986c commit 7a05e7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/msg/async/AsyncMessenger.cc
Expand Up @@ -396,6 +396,7 @@ int AsyncMessenger::client_bind(const entity_addr_t &bind_addr)
lock.Lock();
if (did_bind) {
assert(my_inst.addr == bind_addr);
lock.Unlock();
return 0;
}
if (started) {
Expand Down

0 comments on commit 7a05e7a

Please sign in to comment.