mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 05:54:58 +00:00
LibGUI: Do not attempt to close non-existent notifications
This commit is contained in:
parent
0c7eac8d9a
commit
ba8bd2e558
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ class ConnectionToNotificationServer final
|
|||
public:
|
||||
virtual void die() override
|
||||
{
|
||||
m_notification->connection_closed();
|
||||
if (!m_notification->m_destroyed)
|
||||
m_notification->connection_closed();
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue