From e9017be87a47c7d1edf405108441188fea6cc5a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Font=C3=A1n=20Mui=C3=B1os?= Date: Fri, 10 Jul 2009 13:49:57 +0000 Subject: [PATCH] Kill threads with the safer version so any opened pipes are closed. git-svn-id: http://svn.opennebula.org/one/trunk@670 3034c82b-c49b-4eb3-8279-a7acafdc01c0 --- src/mad/ruby/ActionManager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mad/ruby/ActionManager.rb b/src/mad/ruby/ActionManager.rb index 4f62a2d4f6..213fdafcf4 100644 --- a/src/mad/ruby/ActionManager.rb +++ b/src/mad/ruby/ActionManager.rb @@ -144,7 +144,7 @@ class ActionManager thread = @action_running[action_id] if thread - thread.kill! + thread.kill @num_running -= 1 @action_running.delete(action_id)