Skip to content

Commit 0f6962c

Browse files
committed
apply closer in generic strategy
1 parent 997ee02 commit 0f6962c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

network/mesh.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ func (m *genericMeshStrategy) start() {
143143

144144
func (m *genericMeshStrategy) stop() {
145145
m.wg.Wait()
146+
if m.closer != nil {
147+
m.closer()
148+
}
146149
}
147150

148151
// MeshStrategyCreator is an interface for creating mesh strategies.

0 commit comments

Comments
 (0)