diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2017-09-26 10:07:29 -0700 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2017-09-26 10:15:07 -0700 |
commit | 8e5a79f957b9edfa5d118b49288de6bd93121a85 (patch) | |
tree | fe5e1c6dbdf1bdb6925f5155c9dbc283365db506 | |
parent | 0b8e3e6fcf232563a11d2c128200eaf01a2b5689 (diff) |
elementary: don't crash if API is called after shutdown.
-rw-r--r-- | src/lib/elementary/elm_config.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
4307 | EAPI const char * | 4307 | EAPI const char * |
4308 | elm_config_web_backend_get(void) | 4308 | elm_config_web_backend_get(void) |
4309 | { | 4309 | { |
4310 | if (!_elm_config) return NULL; | ||
4310 | return _elm_config->web_backend; | 4311 | return _elm_config->web_backend; |
4311 | } | 4312 | } |
4312 | 4313 | ||