cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8e5a79f957b9edfa5d118b49288de6bd93121a85

commit 8e5a79f957b9edfa5d118b49288de6bd93121a85
Author: Cedric BAIL <[email protected]>
Date:   Tue Sep 26 10:07:29 2017 -0700

    elementary: don't crash if API is called after shutdown.
---
 src/lib/elementary/elm_config.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c
index 6c8d53bcfd..46293a69c9 100644
--- a/src/lib/elementary/elm_config.c
+++ b/src/lib/elementary/elm_config.c
@@ -4307,6 +4307,7 @@ elm_config_web_backend_set(const char *backend)
 EAPI const char *
 elm_config_web_backend_get(void)
 {
+   if (!_elm_config) return NULL;
    return _elm_config->web_backend;
 }
 

-- 


Reply via email to