evas_async_events_shutdown and init added in evas_main for bug fix
authorjh0506.yun <jh0506.yun@samsung.com>
Tue, 28 Sep 2010 11:49:39 +0000 (20:49 +0900)
committerjh0506.yun <jh0506.yun@samsung.com>
Tue, 28 Sep 2010 11:49:39 +0000 (20:49 +0900)
src/lib/canvas/evas_main.c

index 86c55a4..b3a5c45 100644 (file)
@@ -20,7 +20,11 @@ EAPI int
 evas_init(void)
 {
    if (++_evas_init_count != 1)
-     return _evas_init_count;
+     {
+       evas_async_events_shutdown();
+       evas_async_events_init();
+        return _evas_init_count;
+     }
 
 #ifdef HAVE_EVIL
    if (!evil_init())