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 6094335 commit ea23344Copy full SHA for ea23344
src/ESPressio_Thread.cpp
@@ -14,7 +14,7 @@ namespace ESPressio {
14
}
15
16
Thread::~Thread() {
17
- if (_onDestroy != nullptr) { _onDestroy(); }
+ if (_onDestroy != nullptr) { _onDestroy(this); }
18
SetThreadState(ThreadState::Destroyed);
19
_deleteTask();
20
0 commit comments