summaryrefslogtreecommitdiff
path: root/legacy/eio
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-05-30 10:08:41 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-05-30 10:08:41 +0000
commit318bd30043f1d317ade4d7d3a3213c793e5f7cc4 (patch)
tree04c31f444de220769776b00555575ff79cbdcaa4 /legacy/eio
parentb5e054507a19b2d731511fcef6414ab44b06d943 (diff)
This is a small change, so I won't changelog it (or backport), but
make _shutdown() funcs across efl complain and be unhappy if you shutdown to < 0 shutdowns and not pull init count below 0. SVN revision: 71548
Diffstat (limited to 'legacy/eio')
-rw-r--r--legacy/eio/src/lib/eio_main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/legacy/eio/src/lib/eio_main.c b/legacy/eio/src/lib/eio_main.c
index 37ed701969..47ea55bb63 100644
--- a/legacy/eio/src/lib/eio_main.c
+++ b/legacy/eio/src/lib/eio_main.c
@@ -236,6 +236,11 @@ eio_shutdown(void)
236 Eio_Progress *pg; 236 Eio_Progress *pg;
237 Eio_File_Associate *asso; 237 Eio_File_Associate *asso;
238 238
239 if (_eio_count <= 0)
240 {
241 EINA_LOG_ERR("Init count not greater than 0 in shutdown.");
242 return 0;
243 }
239 _eio_count--; 244 _eio_count--;
240 245
241 if (_eio_count > 0) return _eio_count; 246 if (_eio_count > 0) return _eio_count;