~samwhited/xmpp

9f8db1db05b5ff95744a0736b93874adfe8b0da6 — Sam Whited 5 years ago 07b2e50
Actually wait on the wait group…
1 files changed, 1 insertions(+), 0 deletions(-)

M lookup.go
M lookup.go => lookup.go +1 -0
@@ 74,6 74,7 @@ func lookupEndpoint(ctx context.Context, client *http.Client, addr *jid.JID, con
			wg.Done()
		}()
	}
	wg.Wait()

	switch {
	case err == nil && len(urls) > 0: