Skip to content

Commit a169eec

Browse files
committed
fix: access wild pointer for notificationcenter
DataAccessorProxy::instance() is an static object, and we should release it in server applet. pms: BUG-366403
1 parent fc4eb8b commit a169eec

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

panels/notification/server/notificationmanager.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ NotificationManager::NotificationManager(QObject *parent)
7878

7979
NotificationManager::~NotificationManager()
8080
{
81-
if (m_persistence) {
82-
delete m_persistence;
83-
m_persistence = nullptr;
84-
}
8581
}
8682

8783
bool NotificationManager::registerDbusService()

0 commit comments

Comments
 (0)