mirror of https://github.com/mpv-player/mpv.git
msg: clear buffered status_line on flush
It shouldn't be used after flush anymore.
This commit is contained in:
parent
17a0756ed3
commit
0deefd80bf
|
@ -269,6 +269,7 @@ void mp_msg_flush_status_line(struct mp_log *log, bool clear)
|
|||
}
|
||||
|
||||
done:
|
||||
log->root->status_line.len = 0;
|
||||
mp_mutex_unlock(&log->root->lock);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue