Skip to content
Snippets Groups Projects
Commit 5f8cb8f4 authored by Sebastian Hahta's avatar Sebastian Hahta
Browse files

Fix thread initialization

parent d6a52e46
No related branches found
No related tags found
No related merge requests found
Pipeline #10448 failed
......@@ -139,7 +139,7 @@ class Universe {
private:
bool active_;
nlohmann::json config_;
std::thread thread_;
std::mutex net_mutex_;
fd_set sfderror_;
fd_set sfdread_;
std::vector<ftl::net::Listener*> listeners_;
......@@ -149,8 +149,7 @@ class Universe {
std::map<ftl::UUID, ftl::net::Peer*> peer_ids_;
ftl::UUID id_;
ftl::net::Dispatcher disp_;
std::mutex net_mutex_;
std::thread thread_;
// std::map<std::string, std::vector<ftl::net::Peer*>> subscriptions_;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment