make dtor virtual
Merge pull request #485 from wolfmanjm/upstreamedge

make dtor virtual