make copty safe.. ICK
| 1397 | |
| 1398 | // make copty safe.. ICK |
| 1399 | void Item::unbind() { |
| 1400 | item_pre_event_callback_ = nullptr; |
| 1401 | item_post_event_callback_ = nullptr; |
| 1402 | for (auto &i : *this) |
| 1403 | i.unbind(); |
| 1404 | } |
| 1405 | |
| 1406 | void Item::reset_actor(const bool recursive) { |
| 1407 | set_actor_addr_direct(caf::actor_addr()); |
no outgoing calls
no test coverage detected