Tie lifetime of meta objects table to CAF threads
Fixes undefined behavior if an application leaves `main` while the threads started by CAF are still running. Usually, an application destroys the `actor_system` before leaving `main`. However, some applications may use the `main` function only for spinning up threads. In this case, the meta objects table must exceed the lifetime of the static helper object.
Showing
Please register or sign in to comment