Fixed segfault in ClassDerived.tp_dealloc by lostmsu · Pull Request #1330 · pythonnet/pythonnet

@lostmsu

@lostmsu

Because tp_clear sets tpHandle to NULL, it can't be used.
Fortunately, we can simply read object's type from pyHandle.

@lostmsu

@lostmsu lostmsu changed the title WIP on bug #1327 Fixed segfault in ClassDerived.tp_dealloc

Dec 18, 2020

@lostmsu lostmsu marked this pull request as ready for review

December 18, 2020 07:05