summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/singleton.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/singleton.h b/src/common/singleton.h
index dc09645..ee01b24 100644
--- a/src/common/singleton.h
+++ b/src/common/singleton.h
@@ -47,7 +47,7 @@ template<typename T> class CSingleton
mInstance = static_cast<T *>(this);
}
- ~CSingleton() {
+ virtual ~CSingleton() {
mInstance = NULL;
}