mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibGUI: Do not attempt to close non-existent notifications
This commit is contained in:
parent
0c7eac8d9a
commit
ba8bd2e558
Notes:
sideshowbarker
2024-07-17 18:46:57 +09:00
Author: https://github.com/implicitfield
Commit: ba8bd2e558
Pull-request: https://github.com/SerenityOS/serenity/pull/17852
1 changed files with 2 additions and 1 deletions
|
@ -22,6 +22,7 @@ class ConnectionToNotificationServer final
|
|||
public:
|
||||
virtual void die() override
|
||||
{
|
||||
if (!m_notification->m_destroyed)
|
||||
m_notification->connection_closed();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue