mirror of
https://github.com/openappsec/openappsec.git
synced 2025-11-16 01:12:18 +03:00
sync code
This commit is contained in:
@@ -76,7 +76,10 @@ RoutineWrapper::resume()
|
||||
void
|
||||
RoutineWrapper::invoke(pull_type &pull, I_MainLoop::Routine func)
|
||||
{
|
||||
dbgAssert(active != nullptr) << "Trying to invoke without an active routine";
|
||||
dbgAssert(active != nullptr)
|
||||
<< AlertInfo(AlertTeam::CORE, "mainloop i/s")
|
||||
<< "Trying to invoke without an active routine";
|
||||
|
||||
active->pull = move(pull); // First invokation (other invokaction will start inside `func`), set the `pull` object
|
||||
func();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user