From 03f2be2ee6d42680e34d31f0e77c3ddbe0f5f3c5 Mon Sep 17 00:00:00 2001 From: Shtorm <108103062+shtorm-7@users.noreply.github.com> Date: Sat, 18 Jul 2026 14:21:25 +0300 Subject: [PATCH] Fix MTProxy --- protocol/mtproxy/inbound.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/protocol/mtproxy/inbound.go b/protocol/mtproxy/inbound.go index d999d92c..838bc78a 100644 --- a/protocol/mtproxy/inbound.go +++ b/protocol/mtproxy/inbound.go @@ -102,10 +102,9 @@ func (n *Inbound) Start(stage adapter.StartStage) error { } func (n *Inbound) Close() error { + err := common.Close(&n.listener) n.proxy.Shutdown() - return common.Close( - &n.listener, - ) + return err } func (h *Inbound) UpdateUsers(users []option.MTProxyUser) {