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

Method release_session

src/board_controller/gtec/unicorn_board.cpp:135–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135int UnicornBoard::release_session ()
136{
137 if (initialized)
138 {
139 stop_stream ();
140 free_packages ();
141 initialized = false;
142 }
143 if (dll_loader != NULL)
144 {
145 func_get_data = NULL;
146 call_close ();
147 dll_loader->free_library ();
148 delete dll_loader;
149 dll_loader = NULL;
150 }
151 return (int)BrainFlowExitCodes::STATUS_OK;
152}
153
154void UnicornBoard::read_thread ()
155{

Callers

nothing calls this directly

Calls 2

free_libraryMethod · 0.80
stop_streamFunction · 0.50

Tested by

no test coverage detected