Skip to content

Commit

Permalink
Close all netX connections if the new API is avaliable.
Browse files Browse the repository at this point in the history
  • Loading branch information
docbacardi committed Sep 16, 2022
1 parent afdde6f commit 687f9b4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions local/lua/test_system.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1052,8 +1052,12 @@ function TestSystem:run_tests(tPackageInfo)
tEventTestResult.result = tostring(fTestResult)
_G.tester:sendLogEvent('muhkuh.test.result', tEventTestResult)

-- Close the connection to the netX.
_G.tester:closeCommonPlugin()
-- Close all connections to the netX.
if _G.tester.closeAllCommonPlugins~=nil then
_G.tester:closeAllCommonPlugins()
else
_G.tester:closeCommonPlugin()
end

-- Print the result in huge letters.
if fTestResult==true then
Expand Down

0 comments on commit 687f9b4

Please sign in to comment.