mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00:00
ca93c22ae2
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 | ||
History.cpp | ||
History.h | ||
main.cpp | ||
ManualModel.cpp | ||
ManualModel.h | ||
ManualNode.h | ||
ManualPageNode.cpp | ||
ManualPageNode.h | ||
ManualSectionNode.cpp | ||
ManualSectionNode.h |