- // Technically, this could turn out to be nasty. If
- // this is the last object keeping the python cx
- // alive, then this call could be deleting the cx
- // we're about to return to.
- As noted in Context_new, here we must ref the Python context
- to make sure it stays alive while a Python object may be
- referenced in the JS VM.
ret = OBJECT_TO_JSVAL(jsobj);