Check the thread in all of List's methods
This commit is contained in:
parent
243ae32187
commit
1cbbf1958f
|
@ -97,6 +97,7 @@ void List::verify_attached()
|
||||||
if (!m_link_view->is_attached()) {
|
if (!m_link_view->is_attached()) {
|
||||||
throw std::runtime_error("LinkView is not attached");
|
throw std::runtime_error("LinkView is not attached");
|
||||||
}
|
}
|
||||||
|
m_realm->verify_thread();
|
||||||
}
|
}
|
||||||
|
|
||||||
void List::verify_in_tranaction()
|
void List::verify_in_tranaction()
|
||||||
|
|
Loading…
Reference in New Issue