fix(dynamic string): dynamic sections not respecting ordering
Fixes #69.
This commit is contained in:
@@ -71,6 +71,9 @@ impl DynamicString {
|
|||||||
let tx = tx.clone();
|
let tx = tx.clone();
|
||||||
let label_parts = label_parts.clone();
|
let label_parts = label_parts.clone();
|
||||||
|
|
||||||
|
// insert blank value to preserve segment order
|
||||||
|
lock!(label_parts).push(String::new());
|
||||||
|
|
||||||
spawn(async move {
|
spawn(async move {
|
||||||
script
|
script
|
||||||
.run(|(out, _)| {
|
.run(|(out, _)| {
|
||||||
|
|||||||
Reference in New Issue
Block a user