mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
pocroller/fileroller: destroy widgets
This commit is contained in:
parent
d904b2b8c1
commit
f92a5805bd
@ -55,6 +55,7 @@ int main(int argc, char** argv){
|
||||
}
|
||||
fddone = false;
|
||||
pthread_mutex_unlock(&lock);
|
||||
ncfdplane_destroy(ncfp);
|
||||
}
|
||||
|
||||
done:
|
||||
|
@ -56,7 +56,7 @@ int main(int argc, char** argv){
|
||||
}
|
||||
ret = 0;
|
||||
pthread_mutex_unlock(&lock);
|
||||
|
||||
ncsubproc_destroy(nsproc);
|
||||
if(notcurses_stop(nc) || ret){
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user