sigkill kms server

This commit is contained in:
dec05eba 2023-11-18 14:29:45 +01:00
parent 64095e733a
commit ba111dc73a

View File

@ -332,9 +332,7 @@ void cleanup_socket(gsr_kms_client *self, bool kill_server) {
}
if(kill_server && self->kms_server_pid != -1) {
kill(self->kms_server_pid, SIGINT);
int status;
waitpid(self->kms_server_pid, &status, 0);
kill(self->kms_server_pid, SIGKILL);
self->kms_server_pid = -1;
}