Skip to content
Snippets Groups Projects
Commit 23d5f828 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Fix a bug with concurrent invocation of session triggers.

A session trigger would always use the same coroutine, for both connect and
disconnect, as well as for multiple sessions.

If a trigger runs insert() or update(), anything that yields the current
coro, the coro stack would get corrupted for the next parallel invocation.

Use an own coroutine for each invocation of a session trigger.
parent 5b22d603
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment