mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-29 02:14:51 +00:00
Correct stopping case
This commit is contained in:
parent
d912ea7500
commit
322a812447
@ -114,7 +114,7 @@ rtl_tcp_signal_source_c::rtl_tcp_signal_source_c(const std::string &address,
|
||||
return;
|
||||
}
|
||||
std::cout << "Connected to " << addr << ":" << port << std::endl;
|
||||
LOG (WARNING) << "Connected to " << addr << ":" << port;
|
||||
LOG (INFO) << "Connected to " << addr << ":" << port;
|
||||
|
||||
// 4. Set nodelay
|
||||
socket_.set_option (tcp::no_delay (true), ec);
|
||||
|
@ -115,7 +115,7 @@ private:
|
||||
}
|
||||
|
||||
inline bool not_empty ( ) const {
|
||||
return unread_ > 0 && !io_service_.stopped ();
|
||||
return unread_ > 0 || io_service_.stopped ();
|
||||
}
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user