From 2d9864426272055151c42cf6bc2d13fbe11ca50c Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 5 Jun 2023 18:48:54 +0200 Subject: Re-implement XML decoding --- xmpp/session.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xmpp/session.go') diff --git a/xmpp/session.go b/xmpp/session.go index 234c2e6..080fb21 100644 --- a/xmpp/session.go +++ b/xmpp/session.go @@ -40,6 +40,8 @@ func (s *session) run() { defer s.transport.Close() s.ed = newEncoderDecoder(s) + go s.ed.run() + defer func() { s.ed.terminator <- true }() s.openStream() defer s.closeStreams() -- cgit v1.2.3-70-g09d2