Do not kick off migration of closed participant (#4363)
This commit is contained in:
@@ -1528,7 +1528,7 @@ func (p *ParticipantImpl) setupMigrationTimerLocked() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (p *ParticipantImpl) MaybeStartMigration(force bool, onStart func()) bool {
|
func (p *ParticipantImpl) MaybeStartMigration(force bool, onStart func()) bool {
|
||||||
if p.params.UseOneShotSignallingMode {
|
if p.IsClosed() || p.params.UseOneShotSignallingMode {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user