fallbackswitch: Fix compiler warning in test

This commit is contained in:
Sebastian Dröge 2019-09-18 14:28:06 +03:00 committed by Sebastian Dröge
parent 9c051083b0
commit b7dba68ab9

View file

@ -558,7 +558,7 @@ fn stop_pipeline(mut pipeline: Pipeline) {
// Signal shutdown to the clock thread
let clock_id = clock.new_single_shot_id(0.into()).unwrap();
clock_id.wait();
let _ = clock_id.wait();
let switch = pipeline.get_by_name("switch").unwrap();
let switch_weak = switch.downgrade();