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 was looking at the docs for deleting a frozen object, and the example shows how to delete an optional RealmObject, which works fine. If, however, I modify the query to return a non-optional like below:
Hi!
I was looking at the docs for deleting a frozen object, and the example shows how to delete an optional RealmObject, which works fine. If, however, I modify the query to return a non-optional like below:
The code crashes with the following error:
But if I add any other line (i.e.
println
orreturn
) in thewriteBlocking
clause, it deletes the object without erroring out:Is this the intended behavior when deleting frozen, non-optional RealmObjects?
The text was updated successfully, but these errors were encountered: