Permalink
Browse files

Properly setup destructors for new AuxiliaryThread class

  • Loading branch information...
dbussink committed Jun 17, 2012
1 parent 0ef3d8c commit a91f7a3194a55d4cc2acf8d02bf1fea786c14523
Showing with 4 additions and 3 deletions.
  1. +1 −1 vm/agent.hpp
  2. +1 −0 vm/auxiliary_threads.hpp
  3. +1 −1 vm/llvm/state.hpp
  4. +1 −1 vm/signal.hpp
View
@@ -90,7 +90,7 @@ namespace rubinius {
public:
QueryAgent(STATE);
- ~QueryAgent();
+ virtual ~QueryAgent();
void set_verbose() {
verbose_ = true;
View
@@ -9,6 +9,7 @@ namespace rubinius {
class AuxiliaryThread {
public:
+ virtual ~AuxiliaryThread() { };
virtual void shutdown(STATE) { };
virtual void before_exec(STATE) { };
virtual void after_exec(STATE) { };
View
@@ -112,7 +112,7 @@ namespace rubinius {
static void unpause(STATE);
LLVMState(STATE);
- ~LLVMState();
+ virtual ~LLVMState();
void add_internal_functions();
View
@@ -40,7 +40,7 @@ namespace rubinius {
};
SignalHandler(STATE);
- ~SignalHandler();
+ virtual ~SignalHandler();
void perform(State*);

0 comments on commit a91f7a3

Please sign in to comment.