MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / release_all_sessions

Function release_all_sessions

src/board_controller/board_controller.cpp:634–646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632}
633
634int release_all_sessions ()
635{
636 std::lock_guard<std::mutex> lock (mutex);
637
638 for (auto it = boards.begin (), next_it = it; it != boards.end (); it = next_it)
639 {
640 ++next_it;
641 it->second->release_session ();
642 boards.erase (it);
643 }
644
645 return (int)BrainFlowExitCodes::STATUS_OK;
646}
647
648int get_version_board_controller (char *version, int *num_chars, int max_chars)
649{

Callers

nothing calls this directly

Calls 1

release_sessionMethod · 0.65

Tested by

no test coverage detected