basho / erlang_js

A linked-in driver for Erlang to Mozilla's Spidermonkey Javascript runtime.
Apache License 2.0
238 stars 88 forks source link

Fix for memory handling issue exposed by fixes for BZ1015. #10

Closed kellymclaughlin closed 13 years ago

kellymclaughlin commented 13 years ago

When stopping a Spidermonkey VM context make sure any executing JS functions are terminated before beginning to clean up memory.

This change should allow the changes to luke and riak_kv to address BZ1015 to be safely merged.

Vagabond commented 13 years ago

OK to be merged.