laysakura / beam

Apache Beam is a unified programming model for Batch and Streaming data processing.
https://beam.apache.org/
Apache License 2.0
5 stars 7 forks source link

Forbid unsafe code and release mutexlock #24

Closed xmakro closed 1 year ago

xmakro commented 1 year ago

This fixes https://github.com/laysakura/beam/issues/17#issue-1702953569. The last PR removed the scope brackets which caused a hang because the MutexLock was not released before calling receive.

All tests pass when running with: $ cargo test -- --skip target/debug

laysakura commented 1 year ago

@xmakro Thanks a lot!