aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-02-15 11:45:23 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-02-15 11:45:23 +0900
commit173cfceab7da61e85467658a2c320609485b1139 (patch)
tree7125b68e133daca2b68a2cf5ee766e106bf2e707 /lib
parent87018c0a180248df4a2f61665efbfb3af84bbfea (diff)
downloadlibquotient-173cfceab7da61e85467658a2c320609485b1139.tar.gz
libquotient-173cfceab7da61e85467658a2c320609485b1139.zip
Add a FIXME upon the recent failure under Valgrind
Diffstat (limited to 'lib')
-rw-r--r--lib/room.cpp2
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;