Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Jul 21, 2011
1 parent 23bbda1 commit 94c101e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/hello_world_with_an_empty_string.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
queue.subscribe do |payload|
puts "Received a message: #{payload}. Disconnecting..."

connection.close {
EM.stop { exit }
}
connection.close { EventMachine.stop }
end

exchange.publish "", :routing_key => queue.name, :app_id => "Hello world"
Expand Down

0 comments on commit 94c101e

Please sign in to comment.