Commit c2494bf8 authored by Marcel Hoppe's avatar Marcel Hoppe

only close connection if existing

parent 5969e048
This diff is collapsed.
......@@ -91,7 +91,7 @@ module ActiveBunny
at_exit do
@@conn.close
@@conn.close if @@conn
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment