| 66 | WasmEdge_ExecutorRegisterImport(ExecCxt, StoreCxt, TestModCxt); |
| 67 | } |
| 68 | ~TestContext() { |
| 69 | WasmEdge_LoaderDelete(LoadCxt); |
| 70 | WasmEdge_ValidatorDelete(ValidCxt); |
| 71 | WasmEdge_ExecutorDelete(ExecCxt); |
| 72 | WasmEdge_StoreDelete(StoreCxt); |
| 73 | WasmEdge_StatisticsDelete(StatCxt); |
| 74 | WasmEdge_ModuleInstanceDelete(TestModCxt); |
| 75 | for (auto &&ModCxt : InstantiatedMod) { |
| 76 | WasmEdge_ModuleInstanceDelete(ModCxt); |
| 77 | } |
| 78 | InstantiatedMod.clear(); |
| 79 | } |
| 80 | }; |
| 81 | |
| 82 | T.onInit = [&ConfRef](SpecTest::ContextHandle Parent, |
nothing calls this directly
no test coverage detected