mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
fix: transparent proxy mistakedly turned off when saving setting
This commit is contained in:
1 parent
bcb0059a3d
commit
d32b2c610e
1 file changed
+1
-1
@@ -72,11 +72,11 @@ func NewProcess(tmpl *Template) (process *Process, err error) {
|
||||
var unexpectedExiting bool
|
||||
go func() {
|
||||
p, e := proc.Wait()
|
||||
defer ProcessManager.Stop(false)
|
||||
if process.procCancel == nil {
|
||||
// canceled by v2rayA
|
||||
return
|
||||
}
|
||||
defer ProcessManager.Stop(false)
|
||||
var t []string
|
||||
if p != nil {
|
||||
if p.Success() {
|
||||
|
||||
Reference in new issue
Block a user