From 5b87d1bf1ddd1924cc2e696f7ad74a8b8297438d Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sun, 24 Mar 2024 20:26:49 +0800 Subject: [PATCH] 1 --- server/wsproxy/upstreammgr.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/wsproxy/upstreammgr.cc b/server/wsproxy/upstreammgr.cc index a1634b1..fd492fa 100644 --- a/server/wsproxy/upstreammgr.cc +++ b/server/wsproxy/upstreammgr.cc @@ -4,6 +4,7 @@ #include "upstreammgr.h" #include "upstream.h" +#include "downstreammgr.h" void UpStreamMgr::Init() { @@ -23,6 +24,8 @@ void UpStreamMgr::Init() IM_UpStreamDisconnect, [this] (const a8::Args& args) { + int instance_id = args.Get(0); + DownStreamMgr::Instance()->OnUpStreamDisconnect(instance_id); }); }