pub(crate) fn sync(&mut self) {
        self.pending_transcript_loads
            .drain()
            .for_each(move |(_, (_, handle))| {
                handle
                    .recv()
                    .expect("Failed to sync on the pending transcripts")
                    .expect("Loading of the pending transcripts failed");
            });
        if let Some(handle) = self.pending_key_removal.take() {
            handle.join().expect("Couldn't join on the thread handle.");
        }
    }
/// Joins on all thread handles. It is supposed to be used in testing
/// only to avoid race conditions and zombie threads.
Joins on all thread handles. It is supposed to be used in testing
only to avoid race conditions and zombie threads.
Joins on all thread handles . It is supposed to be used in testing only to avoid race conditions and zombie threads .
pub(crate) fn sync(&mut self) {
        self.pending_transcript_loads
            .drain()
            .for_each(move |(_, (_, handle))| {
                handle
                    .recv()
                    .expect("Failed to sync on the pending transcripts")
                    .expect("Loading of the pending transcripts failed");
            });
        if let Some(handle) = self.pending_key_removal.take() {
            handle.join().expect("Couldn't join on the thread handle.");
        }
    }
pub ( crate ) fn sync ( & mut self ) { self . pending_transcript_loads . drain ( ) . for_each ( move | ( _ , ( _ , handle ) ) | { handle . recv ( ) . expect ( " " ) . expect ( " " ) ; } ) ; if let Some ( handle ) = self . pending_key_removal . take ( ) { handle . join ( ) . expect ( " " ) ; } }
Joins on all thread handles.
Joins on all thread handles .
&mut self
&mut self