Browse files

Clean up better on shutdown

  • Loading branch information...
1 parent d5964ab commit 34f848418c2bdfa4b7467794e13943405c68f054 @pangloss committed Sep 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pacer-dex/graph.rb
View
2 lib/pacer-dex/graph.rb
@@ -15,7 +15,7 @@ def dex(path)
end
shutdown = proc do |g|
g.blueprints_graph.shutdown
- Pacer.open_graphs[path] = nil
+ Pacer.open_graphs.delete path
end
PacerGraph.new(Pacer::Dex::Encoder, open, shutdown)
end

0 comments on commit 34f8484

Please sign in to comment.