Fixes #16288
Was probably missing in #7783
ACK f466c4ce846000b2f984b4759f89f3f793fa0100. Tested running make check on macOS.
Why is this only happening on macos?
Because on Mac, the AppTests::appTests() gets skipped and misses the ECC_Stop() which would have cured the issue that ECC_Start() gets double initialized through RPCNestedTests::rpcNestedTests() -> TestingSetup test.
I don't know if we could get rid of TestingSetup test in RPCNestedTests::rpcNestedTests() though.
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
ACK f466c4c. Tested by comparing make check on master and this PR with macOS 10.14.5. I also tried with and without --enable-debug / --without-gui.