Closed
Description
When calling App::current_user
from a listener callback registered on a User
the thread deadlocks while waiting for the m_user_mutex
to release:
realm-core/src/realm/object-store/sync/sync_manager.cpp
Lines 390 to 392 in e593a5f
But this was already taken by the calling code, here:
realm-core/src/realm/object-store/sync/sync_manager.cpp
Lines 339 to 342 in e593a5f
This might be related to 64bf842 which was merged 3 months ago and introduced the call to user->log_in
:
This shows a minimal reproduction in the Realm JS integration tests:
Metadata
Metadata
Assignees
Labels
No labels