Skip to content

Commit e9a18ee

Browse files
authored
Merge pull request #107 from arangodb-helper/interrupt-in-go-routine
Run interrupt in go routine since channel may block
2 parents 301d3a1 + 3eca975 commit e9a18ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ func (s *Service) MasterChangedCallback() {
768768
defer s.mutex.Unlock()
769769

770770
if s.state == stateRunningSlave {
771-
s.runtimeClusterManager.Interrupt()
771+
go s.runtimeClusterManager.Interrupt()
772772
}
773773
}
774774

0 commit comments

Comments
 (0)