Skip to content

Commit

Permalink
Fix PAIR v0 not finalizing the pollables when closing socket (#1640)
Browse files Browse the repository at this point in the history
This function needs to be pretty much identical between PAIR v0 and
v1, it was missing just the call to release the pollable resources.
  • Loading branch information
jimenezrick committed Feb 5, 2023
1 parent b6d2623 commit 4578013
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sp/protocol/pair0/pair.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ pair0_sock_fini(void *arg)

nni_lmq_fini(&s->rmq);
nni_lmq_fini(&s->wmq);
nni_pollable_fini(&s->writable);
nni_pollable_fini(&s->readable);
nni_mtx_fini(&s->mtx);
}

Expand Down

0 comments on commit 4578013

Please sign in to comment.