mirror of
https://github.com/webui-dev/webui.git
synced 2024-09-19 18:29:01 +03:00
Fix enclose printf()
in #ifdef WEBUI_LOG
This commit is contained in:
parent
6a634cc680
commit
9ff92268fc
@ -1463,8 +1463,10 @@ void webui_wait(void) {
|
||||
// is running. Otherwise the mutex condition
|
||||
// signal will never come
|
||||
if(!_webui_core.ui) {
|
||||
|
||||
printf("[Loop] webui_wait() -> No window is found. Stop.\n");
|
||||
#ifdef WEBUI_LOG
|
||||
printf("[Loop] webui_wait() -> No window is found. Stop.\n");
|
||||
#endif
|
||||
|
||||
_webui_clean();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user