MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / ~Timer

Method ~Timer

src/ui/timer.cpp:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38Timer::~Timer()
39{
40 Timers::iterator it = std::find(timers.begin(), timers.end(), this);
41 ASSERT(it != timers.end());
42 timers.erase(it);
43
44 // Remove messages of this timer in the queue
45 Manager::getDefault()->removeMessagesForTimer(this);
46}
47
48void Timer::start()
49{

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected