summaryrefslogtreecommitdiff
path: root/src/vm/threads.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/threads.h')
-rw-r--r--src/vm/threads.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vm/threads.h b/src/vm/threads.h
index 28c593c103..30f8180cd3 100644
--- a/src/vm/threads.h
+++ b/src/vm/threads.h
@@ -2079,7 +2079,9 @@ public:
// Destructor
//--------------------------------------------------------------
#ifndef DACCESS_COMPILE
- ~Thread();
+ virtual ~Thread();
+#else
+ virtual ~Thread() {}
#endif
#ifdef FEATURE_COMINTEROP_APARTMENT_SUPPORT