OSC bail out if server cannot be started
This commit is contained in:
@@ -167,6 +167,10 @@ OSC::start ()
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!_osc_server) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
int fd = lo_server_get_socket_fd (_osc_server);
|
||||
fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user