Skip to content

Commit

Permalink
Adding a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen committed Jul 16, 2024
1 parent 6c39be3 commit bf83773
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ extern "C" JNIEXPORT void JNICALL Java_io_realm_react_RealmReactModule_invalidat
realm::js::flush_ui_workaround::reset_js_call_invoker();
__android_log_print(ANDROID_LOG_VERBOSE, "Realm", "Invalidating caches");
#if DEBUG
// Immediately close any open sync sessions to prevent race condition with new
// JS thread when hot reloading
realm_jsi_close_sync_sessions();
#endif
realm_jsi_invalidate_caches();
Expand Down

0 comments on commit bf83773

Please sign in to comment.