realm-kotlin icon indicating copy to clipboard operation
realm-kotlin copied to clipboard

User exceptions are not signalled during DiscardLocalChangesStrategy callbacks on Kotlin native

Open clementetb opened this issue 2 years ago • 2 comments

We are not able to properly handle user exceptions during the DiscardLocalChangesStrategy.onBeforeReset() and `DiscardLocalChangesStrategy.onAfterReset()' on mac os.

We need a way to properly signal core that an exception has ocurred.

The sync thread would crash in this situation. A work around would be to handle the exception manually on those callbacks.

clementetb avatar Jun 03 '22 11:06 clementetb

➤ Eduardo López Gutiérrez commented:

This issue was blocked by https://github.com/realm/realm-core/pull/5564 but it was merged so it should be ready to work.

sync-by-unito[bot] avatar Jun 28 '22 13:06 sync-by-unito[bot]

Will be fixed in #925

edualonso avatar Jul 22 '22 09:07 edualonso