src: update and expand comments in base-object.h
authorBen Noordhuis <info@bnoordhuis.nl>
Fri, 22 Aug 2014 22:33:04 +0000 (00:33 +0200)
committerTrevor Norris <trev.norris@gmail.com>
Fri, 5 Sep 2014 16:34:27 +0000 (09:34 -0700)
commit8e6706ea95c81534357c84237f561a0a8073c38e
tree59db94d6b0d986bb91506ae524855af562fd2173
parentb33a47ef473c169be2f11a2ee434f0f89ea1d106
src: update and expand comments in base-object.h

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>
src/base-object.h