Fix tempfile unlink code
--- ControlTower/trunk/lib/control_tower/rack_socket.rb 2010-09-10 07:55:31 UTC (rev 4503)
+++ ControlTower/trunk/lib/control_tower/rack_socket.rb 2010-09-10 21:17:10 UTC (rev 4504)
@@ -110,7 +110,7 @@
ensure
# We should clean up after our tempfile, if we used one.
input = env['rack.input']
- unlink input if input.class == Tempfile
+ input.unlink if input.class == Tempfile
connection.close rescue nil
end
end