Skip to content

Commit be94b21

Browse files
committed
- Fixing Thread
1 parent 8ed9f93 commit be94b21

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ESPressio_IThread.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ namespace ESPressio {
3131
typedef std::function<void(IThread*)> ThreadCallback;
3232
typedef std::function<void(IThread*, ThreadState, ThreadState)> ThreadStateChangeCallback;
3333

34+
// Destructor
35+
36+
virtual ~IThread() {}
37+
3438
// Methods
3539

3640
/// `Initialize` is invoked automatically for all Threads when the `ThreadManager` is initialized in your `main()` (or `setup()` for MCU projects) function.

0 commit comments

Comments
 (0)