aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ExecuteNetwork/ArmNNExecutor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ExecuteNetwork/ArmNNExecutor.cpp b/tests/ExecuteNetwork/ArmNNExecutor.cpp
index 2004bb1ec0..ece3dafea4 100644
--- a/tests/ExecuteNetwork/ArmNNExecutor.cpp
+++ b/tests/ExecuteNetwork/ArmNNExecutor.cpp
@@ -227,6 +227,9 @@ ArmNNExecutor::~ArmNNExecutor()
{
profiler->Print(std::cout);
}
+
+ // We're finished with the network.
+ m_Runtime->UnloadNetwork(m_NetworkId);
}
void ArmNNExecutor::ExecuteAsync()