mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-24 11:50:21 +00:00
msg: clear buffered status_line on flush
It shouldn't be used after flush anymore.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user