elementary: fix wrong refcounting.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 8 Mar 2011 15:54:15 +0000 (15:54 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 8 Mar 2011 15:54:15 +0000 (15:54 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@57595 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/edje_externals/elm.c

index dedfd19..a9710cc 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();
 }