File tree 1 file changed +5
-5
lines changed
app/server/ruby/lib/sonicpi
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1135,12 +1135,12 @@ def __in_thread(*opts, &block)
1135
1135
1136
1136
if ( !parent_t . alive? ) && parent_subthreads . empty?
1137
1137
# signal that the parent's subthreads are now empty and completed
1138
- yo_prom = __system_thread_locals ( parent_t ) . get ( :sonic_pi_local_spider_subthread_empty )
1139
- if yo_prom
1140
- yo_prom . deliver! ( true )
1138
+ subthread_empty_prom = __system_thread_locals ( parent_t ) . get ( :sonic_pi_local_spider_subthread_empty )
1139
+ if subthread_empty_prom
1140
+ subthread_empty_prom . deliver! ( true )
1141
1141
else
1142
- log "Oh crap where is yo_prom???? "
1143
- log "#{ __system_thread_locals ( parent_t ) . get ( :sonic_pi_local_thread_group ) } "
1142
+ log "Subthread empty promise not found for parent thread: "
1143
+ log " - #{ __system_thread_locals ( parent_t ) . get ( :sonic_pi_local_thread_group ) } "
1144
1144
end
1145
1145
end
1146
1146
You can’t perform that action at this time.
0 commit comments