mirror of
https://github.com/tstack/lnav.git
synced 2024-09-11 13:05:51 +03: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