MCPcopy Create free account
hub / github.com/RenderKit/embree / ~ErrorHandler

Method ~ErrorHandler

kernels/common/state.cpp:16–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 3

destroyTlsFunction · 0.85
sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected