Skip to content

Commit

Permalink
Fix multithread unlocking (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogs9 authored May 17, 2021
1 parent f410e3b commit 29e709e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/c/core/session/write_access.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ uint16_t uxr_prepare_output_stream(

UXR_PREPARE_SHARED_MEMORY(session, entity_id, ub, (uint16_t) len, rv);
}
else
{
UXR_UNLOCK_STREAM_ID(session, stream_id);
}

return rv;
}
Expand Down

0 comments on commit 29e709e

Please sign in to comment.