mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
UI message parser
move message parser threads to UI set functions
This commit is contained in:
@@ -27,6 +27,6 @@ void UI_button::click() const
|
||||
{
|
||||
if (m_on_click != nullptr)
|
||||
{
|
||||
m_on_click(m_id);
|
||||
std::thread([this] { m_on_click(m_id); }).detach();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user