to reproduce ``` for(int i=1;i<100;i++) std::thread(test1).detach(); ``` ``` void test1() { Timer t = Timer(); t.setInterval([&](){ }, 1000); t.stop(); } ``` results Exception has occurred. Segmentation fault