eina: do not report timing for already stopped domain.

This commit is contained in:
Cedric BAIL 2013-03-27 22:36:14 +09:00
parent 85d7dddbde
commit 6f6d425f0d
1 changed files with 3 additions and 0 deletions

View File

@ -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 ;