mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 17:58:18 +03:00
LibGUI: Don't assert in ~GWidgetClassRegistration
These guys are all declared as globals, and their ASSERT_NOT_REACHED in the destructor doesn't play nice with __cxa_atexit. As in, every application will assert in __cxa_finalize if this assert isn't removed.
This commit is contained in:
parent
824bbc7462
commit
7edfdca4b2
Notes:
sideshowbarker
2024-07-19 10:46:37 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/7edfdca4b28 Pull-request: https://github.com/SerenityOS/serenity/pull/894
@ -50,7 +50,6 @@ GWidgetClassRegistration::GWidgetClassRegistration(const String& class_name, Fun
|
||||
|
||||
GWidgetClassRegistration::~GWidgetClassRegistration()
|
||||
{
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
void GWidgetClassRegistration::for_each(Function<void(const GWidgetClassRegistration&)> callback)
|
||||
|
Loading…
Reference in New Issue
Block a user