add cleanup_display call in case of SIGINT
This commit is contained in:
parent
2c9b507078
commit
70076b0b4e
|
@ -93,6 +93,7 @@ int main(int argc, char **argv) {
|
|||
ret = run_server(&prog_info);
|
||||
} else {
|
||||
printf("running in CLIENT mode, using client number %d\n", prog_info.client_offset);
|
||||
signal(SIGINT,&cleanup_display);
|
||||
ret = run_client(&prog_info, callback);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user