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

Method release_session

src/board_controller/dyn_lib_board.cpp:124–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124int DynLibBoard::release_session ()
125{
126 if (initialized)
127 {
128 stop_stream ();
129 initialized = false;
130 }
131
132 free_packages ();
133
134 call_close ();
135 call_release ();
136
137 if (dll_loader != NULL)
138 {
139 dll_loader->free_library ();
140 delete dll_loader;
141 dll_loader = NULL;
142 }
143
144 return (int)BrainFlowExitCodes::STATUS_OK;
145}
146
147void DynLibBoard::read_thread ()
148{

Callers

nothing calls this directly

Calls 2

free_libraryMethod · 0.80
stop_streamFunction · 0.70

Tested by

no test coverage detected