From 173cfceab7da61e85467658a2c320609485b1139 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Fri, 15 Feb 2019 11:45:23 +0900 Subject: Add a FIXME upon the recent failure under Valgrind --- lib/room.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/room.cpp b/lib/room.cpp index 663f6037..60c61f2b 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -1306,6 +1306,8 @@ RoomEvent* Room::Private::addAsPending(RoomEventPtr&& event) event->setTransactionId(connection->generateTxnId()); auto* pEvent = rawPtr(event); emit q->pendingEventAboutToAdd(pEvent); + // FIXME: This sometimes causes a bad read: + // https://travis-ci.org/QMatrixClient/libqmatrixclient/jobs/492156899#L2596 unsyncedEvents.emplace_back(move(event)); emit q->pendingEventAdded(); return pEvent; -- cgit v1.2.3