mirror of
https://github.com/RGBCube/serenity
synced 2026-01-13 16:41:03 +00:00
During app teardown, the Application object may be destroyed before something else, and so having Application::the() return a reference was obscuring the truth about its lifetime. This patch makes the API more honest by returning a pointer. While this makes call sites look a bit more sketchy, do note that the global Application pointer only becomes null during app teardown. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| main.cpp | ||
| VBForm.cpp | ||
| VBForm.h | ||
| VBPropertiesWindow.cpp | ||
| VBPropertiesWindow.h | ||
| VBProperty.cpp | ||
| VBProperty.h | ||
| VBWidget.cpp | ||
| VBWidget.h | ||
| VBWidgetPropertyModel.cpp | ||
| VBWidgetPropertyModel.h | ||
| VBWidgetRegistry.cpp | ||
| VBWidgetRegistry.h | ||
| VBWidgetType.h | ||