mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-17 23:06:30 -05:00
comments
This commit is contained in:
parent
92aef24f98
commit
c4f1e10a3d
1
v2ray.go
1
v2ray.go
@ -114,6 +114,7 @@ func (s *Instance) Close() error {
|
||||
}
|
||||
|
||||
// Start starts the V2Ray instance, including all registered features. When Start returns error, the state of the instance is unknown.
|
||||
// A V2Ray instance can be started only once. Upon closing, the instance is not guaranteed to start again.
|
||||
func (s *Instance) Start() error {
|
||||
s.access.Lock()
|
||||
defer s.access.Unlock()
|
||||
|
Loading…
Reference in New Issue
Block a user