preillyme/v8js — pull request #108 by stesie (2014-09-19 22:46:24+00:00)
Title: Fix module caching, closes #107

Use v8::Persistent handle to keep module instances around.

Objects cannot be shared between isolates anyhow, hence moved
modules_loaded map from global V8JSG structure to php_v8js_ctx.

Besides fixes a use-after-free on normalised_module_id.