Update MESA_handle_logger.c, 每次fprintf成功后fflush句柄

This commit is contained in:
杨威
2019-05-16 14:39:04 +08:00
parent 20c1192e93
commit 7e66be08ab

View File

@@ -212,6 +212,10 @@ void MESA_handle_runtime_log(void *handle, int level, const char *module, const
fclose(p_handle->fp);
p_handle->fp = NULL;
}
else
{
fflush(p_handle->fp);
}
return;
}