Call the throttler.Teardown

This commit is contained in:
Shlomi Noach 2018-01-11 08:03:09 +02:00
parent 9226769a22
commit 02579075d0

View File

@ -1262,4 +1262,9 @@ func (this *Migrator) teardown() {
log.Infof("Tearing down streamer")
this.eventsStreamer.Teardown()
}
if this.throttler != nil {
log.Infof("Tearing down throttler")
this.throttler.Teardown()
}
}