summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Atton <jonathan.atton@gmail.com>2009-11-02 10:08:57 +0000
committerJonathan Atton <jonathan.atton@gmail.com>2009-11-02 10:08:57 +0000
commitcbe78d32f2b784d2ebec983c1d1d7f324e524c4b (patch)
tree06394d84cbb74d9d7ce723df4ddfe32f601bd2ce
parent135976b8b3de037359c093242db6fc96269fed29 (diff)
Eina log : check main thread in eina_log_threads_shutdown
SVN revision: 43415
-rw-r--r--legacy/eina/src/lib/eina_log.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/legacy/eina/src/lib/eina_log.c b/legacy/eina/src/lib/eina_log.c
index 34da05fbbf..f403dd50b5 100644
--- a/legacy/eina/src/lib/eina_log.c
+++ b/legacy/eina/src/lib/eina_log.c
@@ -1023,8 +1023,6 @@ eina_log_shutdown(void)
1023{ 1023{
1024 Eina_Inlist *tmp; 1024 Eina_Inlist *tmp;
1025 1025
1026 CHECK_MAIN(0);
1027
1028 while (_log_domains_count--) 1026 while (_log_domains_count--)
1029 { 1027 {
1030 if (_log_domains[_log_domains_count].deleted) 1028 if (_log_domains[_log_domains_count].deleted)
@@ -1087,6 +1085,7 @@ eina_log_threads_init(void)
1087void 1085void
1088eina_log_threads_shutdown(void) 1086eina_log_threads_shutdown(void)
1089{ 1087{
1088 CHECK_MAIN(0);
1090 SHUTDOWN(); 1089 SHUTDOWN();
1091 _threads_enabled = EINA_FALSE; 1090 _threads_enabled = EINA_FALSE;
1092} 1091}