Skip to content

Commit 53a26d8

Browse files
committed
src: mark BaseObject destructor as virtual
Like the previous commit but this time for the BaseObject destructor.
1 parent f874855 commit 53a26d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base-object.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace node {
3030
class BaseObject {
3131
public:
3232
BaseObject(Environment* env, v8::Local<v8::Object> handle);
33-
~BaseObject();
33+
virtual ~BaseObject();
3434

3535
// Returns the wrapped object. Returns an empty handle when
3636
// persistent.IsEmpty() is true.

0 commit comments

Comments
 (0)