opal only bug, deleting while iterating over array

This commit is contained in:
Torsten Ruger 2015-07-23 17:15:07 +03:00
parent 2f409ea4e1
commit fa552bf751

View File

@ -27,7 +27,7 @@ module Virtual
function.source.blocks.each do |block| function.source.blocks.each do |block|
block.codes.each do |code| block.codes.each do |code|
if code.is_a? Virtual::MessageSend if code.is_a? Virtual::MessageSend
@gonners.each do |stay| @gonners.dup.each do |stay|
remove stay if(stay.name == code.name) remove stay if(stay.name == code.name)
end end
end end