| 133 | } |
| 134 | |
| 135 | int 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 | |
| 154 | void UnicornBoard::read_thread () |
| 155 | { |
nothing calls this directly
no test coverage detected