Don't listen to stdin in accept_connection

Fixes reconnect when server is spawned by systemd
This commit is contained in:
Sapphire
2025-12-31 00:59:36 -06:00
parent 727d4fab4d
commit 205c84b273
3 changed files with 7 additions and 9 deletions
+1 -1
View File
@@ -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