Skip to content

Commit 74c53a7

Browse files
committed
Lang - shift scope of synchronize block
1 parent d90aadf commit 74c53a7

File tree

1 file changed

+1
-2
lines changed
  • app/server/ruby/lib/sonicpi/lang

1 file changed

+1
-2
lines changed

app/server/ruby/lib/sonicpi/lang/core.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2325,7 +2325,7 @@ def live_loop(name=nil, *args, &block)
23252325

23262326
# immediately reset for the next move
23272327
__system_thread_locals.set_local :sonic_pi_local_live_loop_move_to_bus_and_parent_t, nil
2328-
2328+
end
23292329
if new_bus
23302330
moved_prom = __system_thread_locals.get :sonic_pi_local_spider_thread_moved
23312331
ack_prom = __system_thread_locals.get :sonic_pi_local_spider_thread_moved_ack
@@ -2349,7 +2349,6 @@ def live_loop(name=nil, *args, &block)
23492349
__live_loop_cue name if __system_thread_locals.get :sonic_pi_local_live_loop_auto_cue
23502350
res = send(ll_name, res)
23512351
end
2352-
end
23532352
end
23542353
end
23552354

0 commit comments

Comments
 (0)