Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
Btw i fixed the problem by applying following patch to the disconnect method.
Beeing unsure if this is an approach that appeals to you and if its the correct
approach i only see this as a tmp. fix.
Index: XMLStream.php
===================================================================
--- XMLStream.php (revision 54)
+++ XMLStream.php (working copy)
@@ -293,6 +293,9 @@
* Disconnect from XMPP Host
*/
public function disconnect() {
+ if (false === (bool) $this->socket) {
+ return;
+ }
$this->log->log("Disconnecting...", XMPPHP_Log::LEVEL_VERBOSE);
$this->reconnect = false;
$this->send($this->stream_end);
Original comment by ota.ma...@gmail.com
on 3 Sep 2008 at 2:42
Implemented in SVN
Original comment by nathanfr...@gmail.com
on 26 Nov 2008 at 10:10
Original issue reported on code.google.com by
ota.ma...@gmail.com
on 3 Sep 2008 at 2:31