| 158 | } |
| 159 | |
| 160 | void event_manager_sync::connection::disconnect() |
| 161 | { |
| 162 | if (auto handler = handlers.lock()) |
| 163 | { |
| 164 | handler->remove(type, id, nullptr); |
| 165 | handler.reset(); |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | event_manager_sync::scoped_connection event_manager_sync::connect(poly_typeid type, event_handler handler) { /* todo */ return {{}}; } |
| 170 |
no test coverage detected