Fix undefined behavior due to deleting an object with a non-virtual
destructor via a pointer of the wrong static type. This caused crashes during deallocation in C++14 builds when using a deallocator whose sized delete requires the size argument to be correct. Also make the LazyCallThroughManager destructor protected to catch this sort of bug in the future.
Loading
Please sign in to comment