mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-06 09:15:37 -05:00
close method for point server
This commit is contained in:
@@ -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