<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -71,7 +71,7 @@ module Jabber
     # Closing connection:
     # first kill keepaliveThread, then call Stream#close!
     def close!
-      @keepaliveThread.kill
+      @keepaliveThread.kill if @keepaliveThread and @keepaliveThread.alive?
       super
     end
 </diff>
      <filename>lib/xmpp4r/connection.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f99a202b63f22b8bc9bdb510c387ba8348546bfc</id>
    </parent>
  </parents>
  <author>
    <name>Stephan M</name>
    <email>astro@spaceboyz.net</email>
  </author>
  <url>http://github.com/ln/xmpp4r/commit/d9fd178c8b90b2c992558a21cf6671a5c80a456f</url>
  <id>d9fd178c8b90b2c992558a21cf6671a5c80a456f</id>
  <committed-date>2007-04-12T16:35:47-07:00</committed-date>
  <authored-date>2007-04-12T16:35:47-07:00</authored-date>
  <message>Attempt to kill Jabber::Connection's @keepaliveThread only if it is a thread alive


git-svn-id: svn+ssh://svn.gna.org/svn/xmpp4r/trunk/xmpp4r@331 fc81a325-65fc-0310-ab21-b05fd605316e</message>
  <tree>a5785103d77d1db3aa9037df2864c36962c8e91a</tree>
  <committer>
    <name>Stephan M</name>
    <email>astro@spaceboyz.net</email>
  </committer>
</commit>
