Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make ThreadedProducer clonable like BaseProducer
The threaded producer was not `Clone` due to handling the background thread join handle but that can easily be stored in an `Arc` that the last drop of the client unwraps and terminates the background thread. `Arc::into_inner` guarantees that exactly one thread will manage to unwrap the handle.
- Loading branch information