mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-23 17:59:41 +02:00
htlcswitch: sync mock server shutdown of switch
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
13b78fea1f
commit
8930b4e481
@@ -330,7 +330,7 @@ func (s *mockServer) Stop() {
|
||||
return
|
||||
}
|
||||
|
||||
go s.htlcSwitch.Stop()
|
||||
s.htlcSwitch.Stop()
|
||||
|
||||
close(s.quit)
|
||||
s.wg.Wait()
|
||||
|
Reference in New Issue
Block a user