Throw away uncleanable scopes when exiting a pseudo-forked process.
authorJan Dubois <jand@activestate.com>
Tue, 8 Dec 2009 01:19:18 +0000 (17:19 -0800)
committerJan Dubois <jand@activestate.com>
Tue, 8 Dec 2009 01:19:18 +0000 (17:19 -0800)
commit1cb985b013ea71b82afbc114ed06f94d451f5e04
treef08febf31e05b309a373bb1d2279384238412976
parent1144115d25e28286dc02b44859da121ea1b93f1c
Throw away uncleanable scopes when exiting a pseudo-forked process.

Commit adab9969 tried to clean up those additional scopes, but failed
because some of the memory was allocated from a different pool. To
avoid triggering the assert() in perl_destruct() this change instead
moves the one remaining scope back to the root of the stack, effectively
discarding the additional frames without any further processing.
win32/perlhost.h