mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-05 22:54:55 +00:00
66859c8cd8
An SDL2 application is allowed to show a message box before the video subsystem is initialized. This change makes sure GUI::Application is initialized. An example of this is SRB2: the process forks itself to let the child process install itself as the signal handler and deal with errors. This child process could try to show a message box long after the video subsystem was initialized, but since it is a forked process there is no static state for GUI::Application or the connection to the window server and the process would crash because of a null dereference. |
||
---|---|---|
.. | ||
patches | ||
package.sh |