Skip to content

Commit

Permalink
DEMO ONLY: showcase potential fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gagik committed Aug 9, 2024
1 parent d3fa720 commit e347766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/realm/object-store/sync/sync_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ void SyncManager::close_all_sessions()
}

for (auto& [_, session] : sessions) {
session->force_close();
session->shutdown_and_wait();
}

get_sync_client().wait_for_session_terminations();
Expand Down

0 comments on commit e347766

Please sign in to comment.