Update MESA_handle_logger.c, 每次fprintf成功后fflush句柄
This commit is contained in:
@@ -212,6 +212,10 @@ void MESA_handle_runtime_log(void *handle, int level, const char *module, const
|
|||||||
fclose(p_handle->fp);
|
fclose(p_handle->fp);
|
||||||
p_handle->fp = NULL;
|
p_handle->fp = NULL;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
fflush(p_handle->fp);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user