mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 16:42:10 +02:00
If a hook triggers the deletion of the GUI::Button, we would be unable to proceed in a well-defined manner here, so let's protect ourselves. This probably needs to be done in a whole lot of places, since GUI widgets are just ref-counted Core::Objects and running arbitrary code can mean that they get deleted.
5.1 KiB
5.1 KiB