Skip to content

Commit

Permalink
fix(dynamic string): dynamic sections not respecting ordering
Browse files Browse the repository at this point in the history
Fixes #69.
  • Loading branch information
JakeStanger committed Mar 1, 2023
1 parent 7212bbc commit 8cbb73b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dynamic_string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ impl DynamicString {
let tx = tx.clone();
let label_parts = label_parts.clone();

// insert blank value to preserve segment order
lock!(label_parts).push(String::new());

spawn(async move {
script
.run(|(out, _)| {
Expand Down

0 comments on commit 8cbb73b

Please sign in to comment.