| 69 | public: |
| 70 | |
| 71 | void Event(const ModuleEvent& event, ShrinkableVector<ModuleContext*>& contexts) override |
| 72 | { |
| 73 | if (event.GetType() == ModuleEvent::LOADING || event.GetType() == ModuleEvent::UNLOADING) |
| 74 | { |
| 75 | contexts.erase(std::remove(contexts.begin(), contexts.end(), GetModuleContext()), contexts.end()); |
| 76 | } |
| 77 | } |
| 78 | }; |
| 79 | |
| 80 | void TestFindHook() |
no test coverage detected