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:
Andrew Kaster 2019-12-21 15:54:13 -07:00 committed by Andreas Kling
parent 824bbc7462
commit 7edfdca4b2
Notes: sideshowbarker 2024-07-19 10:46:37 +09:00

View File

@ -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)