MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / DoCall

Function DoCall

CobaltFusion/GuiExecutor.cpp:18–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace {
17
18void DoCall(std::function<void ()>&& fn)
19{
20 try
21 {
22 fn();
23 }
24 catch (std::exception& e)
25 {
26 cdbg << "Executor: exception ignored: " << e.what() << "\n";
27 }
28 catch (...)
29 {
30 cdbg << "Executor: exception ignored\n";
31 }
32}
33
34} // namespace
35

Callers 2

OnMessageMethod · 0.85
ResetTimerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected