<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -30,6 +30,8 @@ module Spawn
     @@resources.each do |resource|
       resource.close if resource &amp;&amp; resource.respond_to?(:close) &amp;&amp; !resource.closed?
     end
+    # in case somebody spawns recursively
+    @@resources.clear
   end
 
   # Spawns a long-running section of code and returns the ID of the spawned process.</diff>
      <filename>lib/spawn.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>aea05f0fb114a9f9fa40b70c30ec68e2b637ab9c</id>
    </parent>
  </parents>
  <author>
    <name>tra</name>
    <email>tra@2aabfe31-cc40-457c-aec7-21ad9ce7fb7d</email>
  </author>
  <url>http://github.com/tra/spawn/commit/f5d02823b633c237b3d748b504d55b37998ba29d</url>
  <id>f5d02823b633c237b3d748b504d55b37998ba29d</id>
  <committed-date>2009-03-09T13:26:03-07:00</committed-date>
  <authored-date>2009-03-09T13:26:03-07:00</authored-date>
  <message>clear resources in the child in case somebody spawns in the child

git-svn-id: svn+ssh://rubyforge.org/var/svn/spawn/spawn@53 2aabfe31-cc40-457c-aec7-21ad9ce7fb7d</message>
  <tree>a31ad569d7e02c4139542c2fb62a7a9dac154657</tree>
  <committer>
    <name>tra</name>
    <email>tra@2aabfe31-cc40-457c-aec7-21ad9ce7fb7d</email>
  </committer>
</commit>
