cedric pushed a commit to branch master.

commit 6f6d425f0d8ed7eeb3251d4709c5228baab30983
Author: Cedric BAIL <[email protected]>
Date:   Wed Mar 27 22:36:14 2013 +0900

    eina: do not report timing for already stopped domain.
---
 src/lib/eina/eina_log.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/eina/eina_log.c b/src/lib/eina/eina_log.c
index 90eb933..e66e57e 100644
--- a/src/lib/eina/eina_log.c
+++ b/src/lib/eina/eina_log.c
@@ -2179,6 +2179,9 @@ eina_log_timing(int domain,
      }
 #endif
 
+   if (!t->phase && state == EINA_LOG_STATE_STOP)
+     return ;
+
    if (t->phase == EINA_LOG_STATE_INIT &&
        phase == EINA_LOG_STATE_SHUTDOWN)
      return ;

-- 

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d

Reply via email to