From 1cbbf1958f10d1c67327f522b1ca39da9b082152 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Tue, 26 Jan 2016 12:10:10 -0800 Subject: [PATCH] Check the thread in all of List's methods --- src/list.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/list.cpp b/src/list.cpp index cbcf0317..08126704 100644 --- a/src/list.cpp +++ b/src/list.cpp @@ -97,6 +97,7 @@ void List::verify_attached() if (!m_link_view->is_attached()) { throw std::runtime_error("LinkView is not attached"); } + m_realm->verify_thread(); } void List::verify_in_tranaction()