Skip to content

Commit

Permalink
fix: allow system impls to be set multiple times
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Nov 8, 2024
1 parent 29d2087 commit c17ba39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ecsact/wasm/detail/wasm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ ecsactsi_wasm_error ecsactsi_wasm_load(
return std::nullopt;
};

all_minsts.clear();
all_minsts.reserve(100);

for(auto i = 0; 100 > i; ++i) {
Expand Down

0 comments on commit c17ba39

Please sign in to comment.