From 9dc08638a0755735aaab3d4111fbcd88137e62b2 Mon Sep 17 00:00:00 2001 From: azw Date: Sun, 7 May 2023 01:33:14 +0000 Subject: [PATCH] 1 --- server/wsproxy/iomgr.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/wsproxy/iomgr.cc b/server/wsproxy/iomgr.cc index 05c8e27..460f1c7 100644 --- a/server/wsproxy/iomgr.cc +++ b/server/wsproxy/iomgr.cc @@ -6,7 +6,9 @@ void IoMgr::Init() { - + for (int i = 0; i < IC_Max; ++i) { + io_contexts_.push_back(std::vector>()); + } } void IoMgr::UnInit()