1
0
mirror of https://github.com/bspeice/aeron-rs synced 2025-07-01 05:46:08 -04:00

More temporary directory fixes

This commit is contained in:
2019-10-07 07:34:00 -04:00
parent 1a3d67f02c
commit 2b8e32abb7
2 changed files with 4 additions and 3 deletions

View File

@ -79,7 +79,9 @@ fn driver_thread(aeron_dir: PathBuf) {
#[test]
fn cnc_terminate() {
let dir = tempdir().unwrap().into_path();
let temp_dir = tempdir().unwrap();
let dir = temp_dir.path().to_path_buf();
temp_dir.close().unwrap();
// Start up the media driver
let driver_dir = dir.clone();