deinitFrame: don't modify CAPI exception state
If a CAPI exception was set and we called deinitFrame in some rare cases calling the finalizers cleared the CAPI exception. This would cause us to return NULL even though no exception is set #1273 (for LLVM functions compiled in capi mode) Unfortunately I could not come up with a testcase which triggers it but I verified that it fixes the problem scipy triggered.
Showing
Please register or sign in to comment