close all windows befroe free UI dll

This commit is contained in:
gb 2023-05-23 16:10:40 +08:00
parent 7bc0e367c8
commit 02e4f63a49
1 changed files with 2 additions and 0 deletions

View File

@ -384,6 +384,8 @@ namespace callback
}
static void unint_ui(void)
{
if (close_ui)
close_ui(UI_INDICATOR | UI_SETTING);
choose_scanner = NULL;
apply_current_config = NULL;
show_setting_ui = NULL;