rvagg/nan — pull request #121 by bnoordhuis (2014-05-24 19:02:42+00:00)
Title: nan: auto-delete weak callback object

* Check with IsNearDeath() if it's safe to delete the weak callback
context object.

* Turn _NanWeakCallbackData::Dispose() into a deprecated no-op,
resource management is now handled automatically.

Incidentally fixes a double-free bug when the user calls Dispose()
twice.

/cc @kkoopa