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

Method release_session

src/board_controller/neuromd/brainbit.cpp:324–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324int BrainBit::release_session ()
325{
326 if (initialized)
327 {
328 if (is_streaming)
329 {
330 stop_stream ();
331 }
332 free_packages ();
333 initialized = false;
334 free_listeners ();
335 free_channels ();
336 }
337 return NeuromdBoard::release_session ();
338}
339
340void BrainBit::read_thread ()
341{

Callers

nothing calls this directly

Calls 2

release_sessionFunction · 0.85
stop_streamFunction · 0.50

Tested by

no test coverage detected