From b16bf00a10d394f781d9b3996fc4c21da48a9f7c Mon Sep 17 00:00:00 2001 From: Peter Conrad Date: Mon, 10 Jun 2019 23:25:56 +0200 Subject: [PATCH] Made task_base destructor virtual --- include/fc/thread/task.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fc/thread/task.hpp b/include/fc/thread/task.hpp index 3da124d..ed8c208 100644 --- a/include/fc/thread/task.hpp +++ b/include/fc/thread/task.hpp @@ -32,7 +32,7 @@ namespace fc { public: void run(); virtual void cancel(const char* reason FC_CANCELATION_REASON_DEFAULT_ARG) override; - ~task_base(); + virtual ~task_base(); /* HERE BE DRAGONS *