diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-02-15 11:45:23 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-02-15 11:45:23 +0900 |
commit | 173cfceab7da61e85467658a2c320609485b1139 (patch) | |
tree | 7125b68e133daca2b68a2cf5ee766e106bf2e707 /lib | |
parent | 87018c0a180248df4a2f61665efbfb3af84bbfea (diff) | |
download | libquotient-173cfceab7da61e85467658a2c320609485b1139.tar.gz libquotient-173cfceab7da61e85467658a2c320609485b1139.zip |
Add a FIXME upon the recent failure under Valgrind
Diffstat (limited to 'lib')
-rw-r--r-- | lib/room.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |