Fix #187 (silly me #2)

This commit is contained in:
Quentin McGaw
2020-07-09 11:56:43 +00:00
parent 5bf471767d
commit dc1c7eab81

View File

@@ -184,10 +184,10 @@ func _main(background context.Context, args []string) int {
go shadowsocksLooper.Run(ctx, restartShadowsocks, wg)
if allSettings.TinyProxy.Enabled {
<-restartTinyproxy
restartTinyproxy <- struct{}{}
}
if allSettings.ShadowSocks.Enabled {
<-restartShadowsocks
restartShadowsocks <- struct{}{}
}
go func() {