mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-19 23:03:08 +00:00
close method for point server
This commit is contained in:
1 parent
201481a82c
commit
56c5302367
11 files changed
+80
-49
No files matched your search
@@ -113,6 +113,13 @@ func NewPoint(pConfig PointConfig) (*Point, error) {
|
||||
return vpoint, nil
|
||||
}
|
||||
|
||||
func (this *Point) Close() {
|
||||
this.ich.Close()
|
||||
for _, idh := range this.idh {
|
||||
idh.Close()
|
||||
}
|
||||
}
|
||||
|
||||
// Start starts the Point server, and return any error during the process.
|
||||
// In the case of any errors, the state of the server is unpredicatable.
|
||||
func (this *Point) Start() error {
|
||||
|
||||
Reference in new issue
Block a user