elementary: fix wrong refcounting.
authorCedric BAIL <cedric.bail@free.fr>
Tue, 8 Mar 2011 15:54:15 +0000 (15:54 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Tue, 8 Mar 2011 15:54:15 +0000 (15:54 +0000)
SVN revision: 57595

src/edje_externals/elm.c

index dedfd190cb4ff1bd1d999f5625e2f736a5092ac3..a9710cc8d107e54a46082b5e491aaa73ed984fc9 100644 (file)
@@ -23,7 +23,7 @@ external_elm_shutdown(void)
 {
    init_count--;
    DBG("elm_real_shutdown\n");
-   if (init_count > 1) return;
+   if (init_count > 0) return;
    elm_shutdown();
 }