From 2341570e04e50fbe3c07af349cfe21534ccc4ea7 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 13 May 2012 18:51:41 +1000 Subject: COMMON: Converted Coro context structure definitions to instead use classes. This fixes a known problem with class variables declared in a method's context definition were not having their destructors called. --- common/coroutines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/coroutines.h b/common/coroutines.h index fed82bf3f9..6df843887c 100644 --- a/common/coroutines.h +++ b/common/coroutines.h @@ -57,7 +57,7 @@ struct CoroBaseContext { const char *_funcName; #endif CoroBaseContext(const char *func); - ~CoroBaseContext(); + virtual ~CoroBaseContext(); }; typedef CoroBaseContext *CoroContext; -- cgit v1.2.3