From 7edfdca4b28da8ea8a36ede7e9cf2fd2bc945e52 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Sat, 21 Dec 2019 15:54:13 -0700 Subject: [PATCH] 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. --- Libraries/LibGUI/GWidget.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Libraries/LibGUI/GWidget.cpp b/Libraries/LibGUI/GWidget.cpp index 67ac897a2a..9dcaf7cdce 100644 --- a/Libraries/LibGUI/GWidget.cpp +++ b/Libraries/LibGUI/GWidget.cpp @@ -50,7 +50,6 @@ GWidgetClassRegistration::GWidgetClassRegistration(const String& class_name, Fun GWidgetClassRegistration::~GWidgetClassRegistration() { - ASSERT_NOT_REACHED(); } void GWidgetClassRegistration::for_each(Function callback)