We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4f13e6 commit aaadd9fCopy full SHA for aaadd9f
src/ESPressio_Thread.cpp
@@ -14,7 +14,7 @@ namespace ESPressio {
14
}
15
16
Thread::~Thread() {
17
- if (_onDestroy != nullptr) { _onDestroy(this); }
+ DoNotifyDestroy();
18
SetThreadState(ThreadState::Destroyed);
19
ThreadManager::GetInstance()->RemoveThread(this);
20
if (_taskHandle != nullptr) { vTaskDelete(_taskHandle); }
0 commit comments