Skip to content

bindings: close after reading module struct

Rodrigo Muino Tomonari requested to merge github/fork/indutny/fix/gh-2791 into master

Do not let the module struct to be deallocated by uv_dclose before reading data from it.

Found it while investigating: https://github.com/nodejs/node/issues/2791#issuecomment-139196668

cc @nodejs/collaborators

Merge request reports

Loading