diff --git a/src/base-object.h b/src/base-object.h index 0e0df3e938..733346e688 100644 --- a/src/base-object.h +++ b/src/base-object.h @@ -30,7 +30,7 @@ namespace node { class BaseObject { public: BaseObject(Environment* env, v8::Local handle); - ~BaseObject(); + virtual ~BaseObject(); // Returns the wrapped object. Returns an empty handle when // persistent.IsEmpty() is true.