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

Function release_all

src/ml/ml_module.cpp:183–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183int release_all ()
184{
185 std::lock_guard<std::mutex> lock (models_mutex);
186
187 for (auto it = ml_models.begin (), next_it = it; it != ml_models.end (); it = next_it)
188 {
189 ++next_it;
190 it->second->release ();
191 ml_models.erase (it);
192 }
193
194 return (int)BrainFlowExitCodes::STATUS_OK;
195}
196
197int get_version_ml_module (char *version, int *num_chars, int max_chars)
198{

Callers 1

release_allMethod · 0.50

Calls 1

releaseMethod · 0.65

Tested by

no test coverage detected