| 122 | } |
| 123 | |
| 124 | int 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 | |
| 147 | void DynLibBoard::read_thread () |
| 148 | { |
nothing calls this directly
no test coverage detected