Skip to content

Commit

Permalink
6292 - MC::Application should disconnect from the middleware
Browse files Browse the repository at this point in the history
Fix failing tests by ignoring any exception raised during the
final disconnect
  • Loading branch information
ripienaar committed Feb 11, 2011
1 parent 4e1e8cc commit a087470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mcollective/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def run

main

MCollective::PluginManager["connector_plugin"].disconnect
MCollective::PluginManager["connector_plugin"].disconnect rescue true
rescue Exception => e
application_failure(e)
end
Expand Down

0 comments on commit a087470

Please sign in to comment.