Commit 6b26778c authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

ChangeRecorder: fix potential crash when replaying notifications

parent 8bf5a5e4
......@@ -190,7 +190,7 @@ QQueue<Protocol::ChangeNotificationPtr> ChangeRecorderPrivate::loadFrom(QFile *d
continue;
}
if (msg->isValid()) {
if (msg && msg->isValid()) {
msg->setSessionId(sessionId);
list << msg;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment