Do not block on read of tdeinit socket and thereby rely on forcible tdeinit_shutdown termination during logout

This partially resolves Bug 760
pull/16/head
Timothy Pearson 12 years ago
parent 987dc667f2
commit a9e5bed292

@ -353,7 +353,6 @@ int main(int argc, char **argv)
header.cmd = LAUNCHER_TERMINATE_KDE; header.cmd = LAUNCHER_TERMINATE_KDE;
header.arg_length = 0; header.arg_length = 0;
write_socket(sock, (char *) &header, sizeof(header)); write_socket(sock, (char *) &header, sizeof(header));
read_socket(sock, (char *) &header, 1); /* wait for the socket to close */
return 0; return 0;
} }

Loading…
Cancel
Save