| 14 | : thread_error(createTls()) {} |
| 15 | |
| 16 | State::ErrorHandler::~ErrorHandler() |
| 17 | { |
| 18 | Lock<MutexSys> lock(errors_mutex); |
| 19 | for (size_t i=0; i<thread_errors.size(); i++) { |
| 20 | delete thread_errors[i]; |
| 21 | } |
| 22 | destroyTls(thread_error); |
| 23 | thread_errors.clear(); |
| 24 | } |
| 25 | |
| 26 | RTCErrorMessage* State::ErrorHandler::error() |
| 27 | { |
nothing calls this directly
no test coverage detected