evas: don't use dead condition.
authorCedric BAIL <cedric.bail@free.fr>
Mon, 9 May 2011 14:42:12 +0000 (14:42 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Mon, 9 May 2011 14:42:12 +0000 (14:42 +0000)
SVN revision: 59300

legacy/evas/src/lib/cache/evas_cache_image.c

index 119c773da8116fe270d4ccf379e643d7123aa874..b8caaba792073b6e2c33d24bccc979a2c26bc975 100644 (file)
@@ -1405,6 +1405,7 @@ EAPI void
 evas_cache_image_wakeup(void)
 {
 #ifdef BUILD_ASYNC_PRELOAD
-   eina_condition_broadcast(&cond_wakeup);
+   if (_evas_cache_mutex_init > 0)
+     eina_condition_broadcast(&cond_wakeup);
 #endif
 }