efl loop promises - cleare out promise data to null
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 3 Mar 2018 08:15:10 +0000 (17:15 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 11:10:46 +0000 (20:10 +0900)
commit1619134bfe7dca50a8b96d034e798867e6ad4c38
tree5aff8477d7250adb793207b746f649df7ef5c1f6
parent016c2c772aa8586270b3489fc197b2fcfd4c770e
efl loop promises - cleare out promise data to null

so there is something broken in the complect efl promise/loop promise
that the clear of promises on loop destroy is clearing
promises/futures that have already triggered (loop timer ones). i've
spent enough time figuring out that it is happening.
_efl_loop_timeout_del() simple doenst ensure the future in
pending_futures for that promise is removed from the list. getting the
future from the promise handle is an exercise in pain... so i'm not
continuing with that path and will just ignore it.

but for now filling the promise data with null at least means if the
menory is re-used after free it wont see garbage freed ptrs and get
nulls so its easier to track.
src/lib/ecore/efl_loop.c