"Realm accessed from incorrect thread" when called from JUCE Message Thread
O-Community
Realm-cpp version 2.2.0
When processing a `realm::results<T>` object, from the message thread in a JUCE project, I get a `LogicError` exception with error code `WrongThread` and message "Realm accessed from incorrect thread."
<img width="940" alt="Screenshot 2024-07-30 at 10 15 55" src="https://github.com/user-attachments/assets/90d8085a-084a-4764-8e19-72e775a2f354">
I'm not sure if this is a bug or intentional. If intentional, I'm not sure how to do the processing on the thread that Realm expects.
关闭于 2024-07-31 6 条评论