mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-07-21 23:03:27 +03:00
Fix MTProxy
This commit is contained in:
@@ -102,10 +102,9 @@ func (n *Inbound) Start(stage adapter.StartStage) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (n *Inbound) Close() error {
|
func (n *Inbound) Close() error {
|
||||||
|
err := common.Close(&n.listener)
|
||||||
n.proxy.Shutdown()
|
n.proxy.Shutdown()
|
||||||
return common.Close(
|
return err
|
||||||
&n.listener,
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (h *Inbound) UpdateUsers(users []option.MTProxyUser) {
|
func (h *Inbound) UpdateUsers(users []option.MTProxyUser) {
|
||||||
|
|||||||
Reference in New Issue
Block a user