mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:47:45 +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:
|
public:
|
||||||
virtual void die() override
|
virtual void die() override
|
||||||
{
|
{
|
||||||
m_notification->connection_closed();
|
if (!m_notification->m_destroyed)
|
||||||
|
m_notification->connection_closed();
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue