Skip to content
Snippets Groups Projects
Commit c2bc388d authored by Florian Fischer's avatar Florian Fischer
Browse files

[IoContext] do not use Future after allowing its destruction

When using the SINGLE_URING configuration the Future semaphore is used
to ensure that a forgotten Future is dropped after it is prepared and
not needed anymore.

Using the future after signaling its semaphore and thus allowing its
concurrent destruction is obviously broken.

Signal the semaphore after all preparation work is done.

Fixes: 9c0f2143
parent f332b8d4
No related branches found
No related tags found
No related merge requests found
Pipeline #86299 failed
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