Skip to content
Browse files

Clean up better on shutdown

  • Loading branch information...
1 parent d9828e0 commit 877b1ca5a71048dcf2f79e778c584b4927c7fb28 @pangloss committed Sep 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pacer-orient.rb
View
2 lib/pacer-orient.rb
@@ -41,7 +41,7 @@ def orient(url = nil, username = nil, password = nil)
end
shutdown = proc do |g|
g.blueprints_graph.shutdown
- Pacer.open_graphs[[url, username]] = nil
+ Pacer.open_graphs.delete [url, username]
end
PacerGraph.new(Pacer::Orient::Encoder, open, shutdown)
end

0 comments on commit 877b1ca

Please sign in to comment.
Something went wrong with that request. Please try again.