From a3863d4f0d0635b80aa648fa94f8dcb52464807b Mon Sep 17 00:00:00 2001 From: Alexander Duda Date: Sun, 15 Nov 2015 02:20:15 +0100 Subject: [PATCH] bin/roby: fix dead lock If a thread is created by the required script having a nested require the nested require blocks for ever waiting for the top level require to finish. This happens if any handler of the execution_engine has a nested require (example Orocos.get('my_taks') in case model is not loaded) --- bin/roby | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/roby b/bin/roby index 1472797bf..400b6c7a8 100755 --- a/bin/roby +++ b/bin/roby @@ -30,4 +30,4 @@ if !mode || !KNOWN_MODES.has_key?(mode) exit 1 end -require "roby/app/scripts/#{mode}" +load "roby/app/scripts/#{mode}.rb"