Clean-up re-usable string streams

This commit is contained in:
Phil Nash
2017-11-24 08:46:17 +00:00
parent f417995afc
commit 091595780e
3 changed files with 16 additions and 2 deletions

View File

@@ -87,6 +87,7 @@ namespace Catch {
delete getTheRegistryHub();
getTheRegistryHub() = nullptr;
cleanUpContext();
ReusableStringStream::cleanup();
}
std::string translateActiveException() {
return getRegistryHub().getExceptionTranslatorRegistry().translateActiveException();