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()