Skip to content

Commit 4ba5a62

Browse files
authored
Merge pull request #49 from z0306c/async_output_bugfix
修复异步模式下概率性导致输出日志不完整的问题
2 parents 6734e93 + bd2281e commit 4ba5a62

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

easylogger/src/elog_async.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,6 @@ static void *async_output(void *arg) {
283283
size_t get_log_size = 0;
284284
static char poll_get_buf[ELOG_ASYNC_POLL_GET_LOG_BUF_SIZE];
285285

286-
ELOG_ASSERT(init_ok);
287-
288286
while(true) {
289287
/* waiting log */
290288
sem_wait(&output_notice);

0 commit comments

Comments
 (0)