eo - now ref and unref objects on each eo call to keep things safe
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Mon, 23 May 2016 02:15:53 +0000 (11:15 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Tue, 24 May 2016 00:20:49 +0000 (09:20 +0900)
commit4044fe650469d6b5910b62692236487630d8db9a
treebb5c3ab98e8a30ff3182819cb66381dd4f0e11c7
parentb8b41e668394be9ac84ddff6de8110dc275b88f8
eo - now ref and unref objects on each eo call to keep things safe

so... i got this ... callback calls callback calls something calls
callback that deletes the original object at the top so when it comes
back ... things die as the object was destructed. in removing eo_do()
we removed the ref/unrefs that went with it. so this uses the
_EO_API_BEFORE_HOOK and _EO_API_AFTER_HOOK to call exposed "internal"
public functions _eo_real_ref() and _eo_real_unref().

this fixes a new segv i've noticed in several e dialogs where hitting
close does the above via callbacks and closes the window etc.
src/lib/eo/Eo.h
src/lib/eo/eo.c