Skip to content

Commit

Permalink
gswaScheduler: fix, dataUpdateBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
mr21 committed Nov 14, 2023
1 parent 080e51c commit 2a4e5e3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions gswaScheduler/gswaScheduler.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,12 +344,14 @@ class gswaScheduler {

Object.assign( blc, obj );
this.#updateDuration();
while ( blc.prev ) {
while ( blc?.prev ) {
idToPlay = blc.prev;
blc = this.data[ idToPlay ];
}
this.#blockStop( idToPlay );
this.#blockSchedule( idToPlay );
if ( blc ) {
this.#blockStop( idToPlay );
this.#blockSchedule( idToPlay );
}
}
}

Expand Down

0 comments on commit 2a4e5e3

Please sign in to comment.