mirror of
https://github.com/tstack/lnav
synced 2024-11-15 18:13:10 +00:00
[top_status_source] try to fix prepared_stmt destruct order
This commit is contained in:
parent
5060b38f99
commit
9185518bda
@ -103,7 +103,7 @@ struct user_msg_stmt {
|
|||||||
void
|
void
|
||||||
top_status_source::update_user_msg()
|
top_status_source::update_user_msg()
|
||||||
{
|
{
|
||||||
static user_msg_stmt um_stmt;
|
static thread_local user_msg_stmt um_stmt;
|
||||||
|
|
||||||
auto& al = this->tss_fields[TSF_USER_MSG].get_value();
|
auto& al = this->tss_fields[TSF_USER_MSG].get_value();
|
||||||
al.clear();
|
al.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user