Use ipc_server_stop to exit during reconnect

This commit is contained in:
Sapphire
2025-12-31 00:59:33 -06:00
parent 21c04be1f8
commit 727d4fab4d
4 changed files with 22 additions and 14 deletions
+1 -3
View File
@@ -19,13 +19,11 @@
#pragma once
#include "server/ipc_server.h"
#include <functional>
#include <memory>
namespace wivrn
{
class TCP;
std::unique_ptr<wivrn::TCP> accept_connection(ipc_server * server, int watch_fd, std::function<bool()> quit = std::function<bool()>());
std::unique_ptr<wivrn::TCP> accept_connection(int watch_fd, std::function<bool()> quit = std::function<bool()>());
} // namespace wivrn