kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
Fixed crash on disconnect
rodzic
3350697875
commit
6114cf0f58
|
@ -312,6 +312,8 @@ namespace net {
|
|||
winsock_init = true;
|
||||
}
|
||||
assert(winsock_init);
|
||||
#else
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
#endif
|
||||
|
||||
// Create a socket
|
||||
|
@ -358,6 +360,8 @@ namespace net {
|
|||
winsock_init = true;
|
||||
}
|
||||
assert(winsock_init);
|
||||
#else
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
#endif
|
||||
|
||||
// Create a socket
|
||||
|
@ -410,6 +414,8 @@ namespace net {
|
|||
winsock_init = true;
|
||||
}
|
||||
assert(winsock_init);
|
||||
#else
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
#endif
|
||||
|
||||
// Create a socket
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netdb.h>
|
||||
#include <signal.h>
|
||||
#endif
|
||||
|
||||
namespace net {
|
||||
|
|
Ładowanie…
Reference in New Issue