|
|
|
@ -396,7 +396,7 @@ void on_reboot_accepted(main_window *){
|
|
|
|
if (system("reboot")){};
|
|
|
|
if (system("reboot")){};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void on_exit_accepted(main_window *widgets){
|
|
|
|
void on_exit_accepted(main_window *){
|
|
|
|
g_mutex_lock(&main_config.install_mutex);
|
|
|
|
g_mutex_lock(&main_config.install_mutex);
|
|
|
|
if (main_config.install_thread){
|
|
|
|
if (main_config.install_thread){
|
|
|
|
pthread_cancel((pthread_t)main_config.install_thread);
|
|
|
|
pthread_cancel((pthread_t)main_config.install_thread);
|
|
|
|
|