Skip to content

Commit

Permalink
Don't clear the static module registration, unit tests need them seve…
Browse files Browse the repository at this point in the history
…ral times
  • Loading branch information
codereader committed Apr 7, 2022
1 parent ace1a34 commit 960945d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libs/module/StaticModule.cpp
Expand Up @@ -19,8 +19,6 @@ void StaticModuleList::RegisterModules()
{
module::GlobalModuleRegistry().registerModule(creationFunc());
}

Instance().clear(); // clear the static list after dispatching all modules
}

StaticModuleList& StaticModuleList::Instance()
Expand Down

0 comments on commit 960945d

Please sign in to comment.