mirror of
https://github.com/webui-dev/webui.git
synced 2024-08-18 02:10:30 +03:00
Fix Event Block
This commit is contained in:
parent
4fb247ef25
commit
20c350e3cd
@ -2011,7 +2011,7 @@ void webui_set_event_block(size_t window, bool status) {
|
||||
|
||||
// Dereference
|
||||
if (_webui_mutex_is_exit_now(WEBUI_MUTEX_NONE) || _webui_core.wins[window] == NULL)
|
||||
return false;
|
||||
return;
|
||||
_webui_window_t * win = _webui_core.wins[window];
|
||||
|
||||
win->ws_block = status;
|
||||
|
Loading…
Reference in New Issue
Block a user