]> git.vpit.fr Git - perl/modules/indirect.git/commit
Reset the callbacks when the root interpreter is destroyed
authorVincent Pit <vince@profvince.com>
Fri, 28 Aug 2009 17:18:24 +0000 (19:18 +0200)
committerVincent Pit <vince@profvince.com>
Fri, 28 Aug 2009 17:18:26 +0000 (19:18 +0200)
commitd237f88f7fb8be8d6836157872d5bf2b9ba02beb
treeea9ffb377dce1c8ed381f354f3407caaa7ab5de6
parent175215d256b3ccb78ed48b5ad17c5e1d5ac3ba28
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
indirect.xs
t/41-threads-teardown.t [new file with mode: 0644]