mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 09:10:01 +02:00
shutdown bug
This commit is contained in:
parent
e908beb38a
commit
434fa863d0
@ -446,7 +446,7 @@ enum communicationProtocol{
|
|||||||
close(file_des);
|
close(file_des);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
ShutDownSocket();
|
while(!shutdown(socketDescriptor, SHUT_RDWR));
|
||||||
close(socketDescriptor);
|
close(socketDescriptor);
|
||||||
socketDescriptor=-1;
|
socketDescriptor=-1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user