mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-17 09:06:26 +00:00
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()) {
|
||||
throw std::runtime_error("LinkView is not attached");
|
||||
}
|
||||
m_realm->verify_thread();
|
||||
}
|
||||
|
||||
void List::verify_in_tranaction()
|
||||
|
Loading…
x
Reference in New Issue
Block a user