| 219 | } |
| 220 | |
| 221 | void Board::free_packages () |
| 222 | { |
| 223 | for (auto it = dbs.begin (), next_it = it; it != dbs.end (); it = next_it) |
| 224 | { |
| 225 | ++next_it; |
| 226 | delete it->second; |
| 227 | dbs.erase (it); |
| 228 | } |
| 229 | |
| 230 | for (auto it = marker_queues.begin (), next_it = it; it != marker_queues.end (); it = next_it) |
| 231 | { |
| 232 | ++next_it; |
| 233 | it->second.clear (); |
| 234 | marker_queues.erase (it); |
| 235 | } |
| 236 | |
| 237 | for (auto it = streamers.begin (), next_it = it; it != streamers.end (); it = next_it) |
| 238 | { |
| 239 | ++next_it; |
| 240 | for (auto &streamer : it->second) |
| 241 | { |
| 242 | delete streamer; |
| 243 | } |
| 244 | streamers.erase (it); |
| 245 | } |
| 246 | } |
| 247 | |
| 248 | int Board::add_streamer (const char *streamer_params, int preset) |
| 249 | { |
nothing calls this directly
no outgoing calls
no test coverage detected