HomePhabricator

loop: Try harder to find the main loop

Authored by Jean-Philippe Andre <jp.andre@samsung.com> on Dec 17 2017, 6:58 PM.

Description

loop: Try harder to find the main loop

If the object has no parent or anything else goes a bit wrong,
efl_loop_get() may fail to return the loop object. It's a bit ridiculous
when we're in the main loop as we know which loop object was requested.

This avoids returning NULL.

Details

Committed
Jean-Philippe Andre <jp.andre@samsung.com>Dec 18 2017, 2:54 AM
Parents
rEFLfed81234480b: ecore: Avoid double free with promises
Branches
Unknown
Tags
Unknown
Jean-Philippe Andre <jp.andre@samsung.com> committed rEFL784a5b56a3c7: loop: Try harder to find the main loop (authored by Jean-Philippe Andre <jp.andre@samsung.com>).Dec 18 2017, 2:54 AM