Skip to content

Commit ea23344

Browse files
committed
- Fixing Thread
1 parent 6094335 commit ea23344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ESPressio_Thread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace ESPressio {
1414
}
1515

1616
Thread::~Thread() {
17-
if (_onDestroy != nullptr) { _onDestroy(); }
17+
if (_onDestroy != nullptr) { _onDestroy(this); }
1818
SetThreadState(ThreadState::Destroyed);
1919
_deleteTask();
2020
}

0 commit comments

Comments
 (0)