Can uWebSockets-related objects be created and run in a child thread? Why does executing this->webApp = new uWS::App(); in std::thread detach mode cause an exception?
Thread-6-ucrtbased.dll thread
0x00007ff9db8a0949us create loop(void , void ()(us loop t ), void ()(us loop t ), void ()(us loop t *), unsigned int) /ibuv.c:133uWS::Loop:create(void *)Loop.h:77
uWS::Loop::get(void *)Loop.h.119
uWS::TemplatedApp:TemplatedApp<...>(SocketContextOptions) App.h.218
WebActivity::start(int, const std::any &)WebActivity.cpp:14
14: this->webApp = new uWS::App();
Compiler: MSVC, C++ version: C++20