boskos/mason/mason.go
func (m *Mason) Stop() {
	logrus.Info("Stopping Mason")
	m.cancel()
	m.wg.Wait()
	close(m.pending)
	close(m.cleaned)
	close(m.fulfilled)
	m.client.ReleaseAll(common.Dirty)
	logrus.Info("Mason stopped")
}
func (m *Mason) Stop() {
	logrus.Info("Stopping Mason")
	m.cancel()
	m.wg.Wait()
	close(m.pending)
	close(m.cleaned)
	close(m.fulfilled)
	m.client.ReleaseAll(common.Dirty)
	logrus.Info("Mason stopped")
}
func ( m * Mason ) Stop ( ) { logrus . Info ( " " ) m . cancel ( ) m . wg . Wait ( ) close ( m . pending ) close ( m . cleaned ) close ( m . fulfilled ) m . client . ReleaseAll ( common . Dirty ) logrus . Info ( " " ) }
// Stop Mason
Stop Mason