mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
fix: loss of order in Lua sequence table for inter-thread data exchange (#1457)
This commit is contained in:
parent
17c7003426
commit
36381e676f
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ impl Sendable {
|
|||
}
|
||||
|
||||
if map.len() == i as usize - 1 {
|
||||
Data::List(map.into_values().collect())
|
||||
Data::List((1..i).map(|i| map.remove(&DataKey::Integer(i)).unwrap()).collect())
|
||||
} else {
|
||||
Data::Dict(map)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue