mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-06 21:37:35 +03:00
Fix start stage
This commit is contained in:
parent
e3ffffc645
commit
1edb80adcc
7 changed files with 67 additions and 54 deletions
|
@ -14,7 +14,7 @@ func LegacyStart(starter any, stage StartStage) error {
|
|||
}); isStarter {
|
||||
return starter.Start()
|
||||
}
|
||||
case StartStatePostStart:
|
||||
case StartStateStarted:
|
||||
if postStarter, isPostStarter := starter.(interface {
|
||||
PostStart() error
|
||||
}); isPostStarter {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue