Skip to content

Already Borrowed Error When using SessionContext from Multiple Threads #366

@kdbrooks

Description

@kdbrooks

Describe the bug
I this this issue is causing this:
PyO3/pyo3#2465

We are borrowing mutable references in too many places in the pyclass code.

To Reproduce
Use SessionContext from multiple threads.

Expected behavior
No Panics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions