Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't destroy P5 objects after the P5 interpreter was shut down
We run the default_perl5 object's DESTROY method unconditionally in the END. If after that the GC runs, it may DESTROY wrapped Perl 5 objects. If we try to decrement their reference count, we're in no-mans-land and may encounter undesireable effects like segfaults. So don't do that.
- Loading branch information