mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 22:15:41 +00:00
Fix segfault on immediate CNTRL-C exit, shows in Fedora32 bit
This commit is contained in:
@@ -590,7 +590,7 @@ void *signal_hand(void *ptr)
|
||||
// Kill the GUI thread
|
||||
if( !nwipe_options.nogui )
|
||||
{
|
||||
if ( nwipe_misc_thread_data->gui_thread )
|
||||
if ( *nwipe_misc_thread_data->gui_thread )
|
||||
{
|
||||
pthread_cancel( *nwipe_misc_thread_data->gui_thread );
|
||||
*nwipe_misc_thread_data->gui_thread = 0;
|
||||
|
||||
Reference in New Issue
Block a user