Don't listen to stdin in accept_connection
Fixes reconnect when server is spawned by systemd
This commit is contained in:
@@ -25,5 +25,5 @@
|
||||
namespace wivrn
|
||||
{
|
||||
class TCP;
|
||||
std::unique_ptr<wivrn::TCP> accept_connection(int watch_fd, std::function<bool()> quit = std::function<bool()>());
|
||||
std::unique_ptr<wivrn::TCP> accept_connection(std::function<bool()> quit = std::function<bool()>());
|
||||
} // namespace wivrn
|
||||
|
||||
Reference in New Issue
Block a user