Skip to content

Dead lock with handle_request on android #1521

@HaHa421

Description

@HaHa421

Describe the bug
From a Dioxus app, handle_request enters a dead lock on android, not on on windows

Steps To Reproduce

Expected behavior
no lock

If applicable, add screenshots to help explain your problem.

Platform and Versions (please complete the following information):
OS: Andoid "any" version
Rustc: 1.85.0

Additional context
I ended using a RwLock instead of a Mutex for REQUEST_HANDLER and everything seems to work well

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions