Skip to content

Commit

Permalink
remove unnecessary lines and add comments
Browse files Browse the repository at this point in the history
Signed-off-by: Bariq <[email protected]>
  • Loading branch information
bariqhibat committed Nov 9, 2021
1 parent 2fbb7a2 commit 6a75f7f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions meshsync/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ func (h *Handler) processExecRequest(obj interface{}, cfg config.ListenerConfig)
} else {
// Already running subscription
if bool(req.Stop) {
h.channelPool[id].(channels.StructChannel) <- struct{}{}

// TODO: once we have a unsubscribe functionality, need to publish message to active sessions subject
execCleanup(h, id)
}
}
Expand Down

0 comments on commit 6a75f7f

Please sign in to comment.