mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-25 09:37:43 +00:00
Add virtual destructor for ThreadBase.
Oops!
This commit is contained in:
@@ -32,6 +32,8 @@ public:
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual ~ThreadBase() = default;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
static msg_t fn(void* arg) {
|
static msg_t fn(void* arg) {
|
||||||
auto obj = static_cast<ThreadBase*>(arg);
|
auto obj = static_cast<ThreadBase*>(arg);
|
||||||
|
Reference in New Issue
Block a user