Fix: uv_close was called from wrong thread

This commit is contained in:
SChernykh
2022-10-07 16:02:08 +02:00
parent 3e655961e9
commit fd6b2360aa
5 changed files with 21 additions and 8 deletions
+2
View File
@@ -234,6 +234,8 @@ private:
static void on_show_peers(uv_async_t* handle) { reinterpret_cast<P2PServer*>(handle->data)->show_peers(); }
void show_peers();
void on_shutdown() override;
};
} // namespace p2pool