lilucpp
Results
1
comments of
lilucpp
Because the Timer is destroyed after t.stop(), and the thread inside the setInterval function uses the Timer after the destruction. An idea: Timer inherits [std::enable_shared_from_this](https://en.cppreference.com/w/cpp/memory/enable_shared_from_this) to extend the life cycle...