You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed a peculiar phenomenon where RealmConfiguration cannot be shared.
Remember to share RealmConfiguration after creating it in UI thread.
If you take out the RealmConfiguration from the thread and use it
A thread conflict error occurs.
I'd like to share my code, but unfortunately I can't because I'm testing it without using the reuse method.
Repro steps
realms are cool.
There is something strange about this test.
I've noticed a peculiar phenomenon where RealmConfiguration cannot be shared.
Remember to share RealmConfiguration after creating it in UI thread.
If you take out the RealmConfiguration from the thread and use it
A thread conflict error occurs.
I'd like to share my code, but unfortunately I can't because I'm testing it without using the reuse method.
Version
latest
What SDK flavour are you using?
Local Database only
What type of application is this?
WPF
Client OS and version
Windows 10 Pro 19044.2251
Code snippets
No response
Stacktrace of the exception/crash you're getting
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
Hi @sansamit, I just wanted to confirm I have understood the situation.
You created a RealmConfiguration on the main thread and opened a realm with it. Then you used the same object to open a realm on another thread but you got an exception. Is this correct?
Also, what kind of exception/error did you get?
I did not manage to reproduce this with the latest version of the SDK, so I am closing it for now. Feel free to reopen it if this is still an issue for you
What happened?
realms are cool.
There is something strange about this test.
I've noticed a peculiar phenomenon where RealmConfiguration cannot be shared.
Remember to share RealmConfiguration after creating it in UI thread.
If you take out the RealmConfiguration from the thread and use it
A thread conflict error occurs.
I'd like to share my code, but unfortunately I can't because I'm testing it without using the reuse method.
Repro steps
realms are cool.
There is something strange about this test.
I've noticed a peculiar phenomenon where RealmConfiguration cannot be shared.
Remember to share RealmConfiguration after creating it in UI thread.
If you take out the RealmConfiguration from the thread and use it
A thread conflict error occurs.
I'd like to share my code, but unfortunately I can't because I'm testing it without using the reuse method.
Version
latest
What SDK flavour are you using?
Local Database only
What type of application is this?
WPF
Client OS and version
Windows 10 Pro 19044.2251
Code snippets
No response
Stacktrace of the exception/crash you're getting
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: