Browse Source

src: mark BaseObject destructor as virtual

Like the previous commit but this time for the BaseObject destructor.
archived-io.js-v0.12
Ben Noordhuis 10 years ago
parent
commit
53a26d83f4
  1. 2
      src/base-object.h

2
src/base-object.h

@ -30,7 +30,7 @@ namespace node {
class BaseObject {
public:
BaseObject(Environment* env, v8::Local<v8::Object> handle);
~BaseObject();
virtual ~BaseObject();
// Returns the wrapped object. Returns an empty handle when
// persistent.IsEmpty() is true.

Loading…
Cancel
Save