Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
clean up compile error from merge
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonincode committed Apr 24, 2019
1 parent 3585b5c commit 2b3b579
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ namespace eosio { namespace chain {

~wasm_interface_impl() {
if(is_shutting_down)
std::for_each(instantiation_cache.begin(), instantiation_cache.end(), [](auto& i) {i.second.release();});
for(wasm_cache_index::iterator it = wasm_instantiation_cache.begin(); it != wasm_instantiation_cache.end(); ++it)
wasm_instantiation_cache.modify(it, [](wasm_cache_entry& e) {
e.module.release();
});
}

std::vector<uint8_t> parse_initial_memory(const Module& module) {
Expand Down

0 comments on commit 2b3b579

Please sign in to comment.