👩💻 Join our community of thousands of amazing developers!
A customer was encountering a crash that appeared only on the ARM version of their program. Here’s a simplified version: void polarity_test(std::shared_ptr<Test> test) { test->harness->callAndReport([test2 = std::move(test)]() mutable { test2->reverse_polarity(); ::resume_on_main_thread([test3 = std::move(test2)]() { test3->reverse_polarity(); }); }); } They reported that the first line was crashing on the std::move: test->harness->call...