Generalization processing can run in multiple threads. If a thread throws an error that error was not caught correctly. The new code catches the error and reports it and sets a flag that the main thread knows an error happened, so it can terminate the program correctly.
Generalization processing can run in multiple threads. If a thread throws an error that error was not caught correctly. The new code catches the error and reports it and sets a flag that the main thread knows an error happened, so it can terminate the program correctly.