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

Method Cancel

CobaltFusion/GuiExecutor.cpp:86–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void GuiExecutor::Cancel(const ScheduledCall& call)
87{
88 unsigned id = GetId(call);
89 if (IsExecutorThread())
90 {
91 m_scheduledCalls.Remove(id);
92 ResetTimer();
93 }
94 else
95 {
96 Call([this, id]()
97 {
98 m_scheduledCalls.Remove(id);
99 ResetTimer();
100 });
101 }
102}
103
104bool GuiExecutor::IsExecutorThread() const
105{

Callers

nothing calls this directly

Calls 1

RemoveMethod · 0.45

Tested by

no test coverage detected