| 188 | } |
| 189 | |
| 190 | static void pni_selectable_release(pn_selectable_t *selectable) { |
| 191 | pn_reactor_t *reactor = (pn_reactor_t *) pni_selectable_get_context(selectable); |
| 192 | pn_incref(selectable); |
| 193 | if (pn_list_remove(reactor->children, selectable)) { |
| 194 | reactor->selectables--; |
| 195 | } |
| 196 | pn_decref(selectable); |
| 197 | } |
| 198 | |
| 199 | pn_selectable_t *pn_reactor_selectable(pn_reactor_t *reactor) { |
| 200 | assert(reactor); |
nothing calls this directly
no test coverage detected