| 221 | } |
| 222 | |
| 223 | StackContext::~StackContext() |
| 224 | { |
| 225 | #ifdef HXCPP_DEBUGGER |
| 226 | if (mDebugger) |
| 227 | dbgCtxDestroy(mDebugger); |
| 228 | #endif |
| 229 | |
| 230 | #ifdef HXCPP_TELEMETRY |
| 231 | if (mTelemetry) |
| 232 | tlmDestroy(mTelemetry); |
| 233 | #endif |
| 234 | |
| 235 | #ifdef HXCPP_PROFILER |
| 236 | if (mProfiler) |
| 237 | profDestroy(mProfiler); |
| 238 | #endif |
| 239 | |
| 240 | #ifdef HXCPP_SCRIPTABLE |
| 241 | delete [] stack; |
| 242 | #endif |
| 243 | } |
| 244 | |
| 245 | void StackContext::onThreadAttach() |
| 246 | { |
nothing calls this directly
no test coverage detected