Skip to content

Commit

Permalink
fix interface{} to bool type conversion panic
Browse files Browse the repository at this point in the history
Signed-off-by: Syrone Wong <[email protected]>
  • Loading branch information
wongsyrone committed Mar 23, 2020
1 parent a54e93e commit dd97398
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions clash/clash.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,8 @@ func Stop() {

runningFlag.Store(false)
}

func init() {
// default value
runningFlag.Store(false)
}

0 comments on commit dd97398

Please sign in to comment.