diff --git a/Thread.h b/Thread.h index 0e580a9..cf0be31 100644 --- a/Thread.h +++ b/Thread.h @@ -69,6 +69,7 @@ class Thread{ #endif Thread(void (*callback)(void) = NULL, unsigned long _interval = 0); + virtual ~Thread() {}; // Set the desired interval for calls, and update _cached_next_run virtual void setInterval(unsigned long _interval);