Skip to content

Commit

Permalink
bin/roby: fix dead lock
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
Alexander Duda authored and Alexander Duda committed Nov 30, 2015
1 parent bea8018 commit a3863d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/roby
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit a3863d4

Please sign in to comment.