Changeset [6d5e357f9cd4ae3cfaaf25aafbf6c121cf519ac2] by Paul J. Davis
Revision 6d5e357f9cd4ae3cfaaf25aafbf6c121cf519ac2,
committed by Paul J. Davis
· June 26th, 2009 @ 07:45 PM
Fix segfaults when large numbers of contexts.
Turns out that I had an error in my logic about how to reference count the python context object. I removed references to it from Python objects that are wrapped in the JavaScript VM. I'm more than 50% certain that this is correct as when the Python context dies, it'll destroy the JSContext* and along with it all references to Python objects that need refernces to the Context.
[#21 state:resolved] http://github.com/davisp/python-...
7 changed files
-
M
THANKS -
M
spidermonkey/context.c -
M
spidermonkey/pyiter.c -
M
spidermonkey/pyobject.c -
M
spidermonkey/runtime.c -
M
tests/test-context.py -
M
tests/test-turnover.py