mirror of https://github.com/lukechilds/node.git
Browse Source
It's safe to call BaseObject::object() from your destructor _unless_ the handle is weak; then it's the weak callback that is calling your destructor and the object will have been released by the time the destructor runs. Reviewed-by: Trevor Norris <trev.norris@gmail.com>v0.11.14-release
committed by
Trevor Norris
1 changed files with 7 additions and 2 deletions
Loading…
Reference in new issue