mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
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
This commit is contained in:
parent
5394e88b96
commit
e9017be87a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user