mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-17 20:54:40 +03:00
socks5 proxy option added to telegram bot settings (#1500)
* socks5 option added to telegram bot settings * update socks5 proxy settings translations
This commit is contained in:
@@ -50,7 +50,9 @@ func (x *XrayAPI) Init(apiPort int) (err error) {
|
||||
}
|
||||
|
||||
func (x *XrayAPI) Close() {
|
||||
x.grpcClient.Close()
|
||||
if x.grpcClient != nil {
|
||||
x.grpcClient.Close()
|
||||
}
|
||||
x.HandlerServiceClient = nil
|
||||
x.StatsServiceClient = nil
|
||||
x.isConnected = false
|
||||
|
||||
Reference in New Issue
Block a user