]> git.vpit.fr Git - perl/modules/Lexical-Types.git/commit
Reset the callbacks when the root interpreter is destroyed
authorVincent Pit <vince@profvince.com>
Fri, 11 Sep 2009 22:57:41 +0000 (00:57 +0200)
committerVincent Pit <vince@profvince.com>
Fri, 11 Sep 2009 22:57:41 +0000 (00:57 +0200)
commit333c198120153b0cfe076fcb54e100dcf0eb9fb4
treec5866abb0d3f7d7bc44ec3387a368387b0462755
parent158a53a77c240a1fed59318ecacb5bb20eb11f1d
Reset the callbacks when the root interpreter is destroyed

This fix segfaults when the pragma is first loaded from inside a thread.
The global state for the root interpreter is also freed, so it won't leak
anymore.
MANIFEST
Types.xs
t/31-threads-teardown.t [new file with mode: 0644]