Skip to content

Commit

Permalink
Use CRT exit instead of Win32 API ExitProcess.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed Dec 11, 2023
1 parent e3bc040 commit f860156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LvglWindowsSimulator/win32drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ static void lv_windows_check_display_existence_timer_callback(lv_timer_t* timer)
{
// Don't use lv_deinit() due to it will cause exception when parallel
// rendering is enabled.
ExitProcess(0);
exit(0);
}
}

Expand Down

0 comments on commit f860156

Please sign in to comment.