ecore: remove an impossible to track assert.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 7 Mar 2012 16:11:55 +0000 (16:11 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 7 Mar 2012 16:11:55 +0000 (16:11 +0000)
NOTE: I am now all for removing this lock. They trigger crash,
are not implementing the feature they are advertising, are not
maintained and impossible to fix.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@68987 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore/ecore_private.h

index faf1873..f0c5d6b 100644 (file)
@@ -244,7 +244,7 @@ static inline void
 _ecore_unlock(void)
 {
    _ecore_main_lock_count--;
-   assert(_ecore_main_lock_count == 0);
+   /* assert(_ecore_main_lock_count == 0); */
 #ifdef HAVE_THREAD_SAFETY
    eina_lock_release(&_ecore_main_loop_lock);
 #endif