lib/blather/stream/client.rb in blather-0.8.3 vs lib/blather/stream/client.rb in blather-0.8.4

- old
+ new

@@ -15,9 +15,13 @@ def send(stanza) stanza.from = self.jid if stanza.is_a?(Stanza) && !stanza.from.nil? super stanza end + def cleanup + @parser.finish if @parser + super + end end #Client end #Stream end #Blather