Skip to content

Commit e347766

Browse files
committed
DEMO ONLY: showcase potential fix
1 parent d3fa720 commit e347766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/realm/object-store/sync/sync_manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ void SyncManager::close_all_sessions()
391391
}
392392

393393
for (auto& [_, session] : sessions) {
394-
session->force_close();
394+
session->shutdown_and_wait();
395395
}
396396

397397
get_sync_client().wait_for_session_terminations();

0 commit comments

Comments
 (0)