This commit is contained in:
Darien Raymond 2018-02-10 11:17:22 +01:00
parent 92aef24f98
commit c4f1e10a3d
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 0 deletions

View File

@ -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()