Fix BaseSrc::unlock_stop() calling unlock(), and BaseSink

This commit is contained in:
Sebastian Dröge 2018-02-12 15:05:17 +02:00
parent 4e085c1ba3
commit 6807d00d5d
2 changed files with 2 additions and 2 deletions

View file

@ -267,7 +267,7 @@ macro_rules! box_base_sink_impl(
fn unlock_stop(&self, element: &T) -> bool {
let imp: &$name<T> = self.as_ref();
imp.unlock(element)
imp.unlock_stop(element)
}
}
};

View file

@ -339,7 +339,7 @@ macro_rules! box_base_src_impl(
fn unlock_stop(&self, element: &T) -> bool {
let imp: &$name<T> = self.as_ref();
imp.unlock(element)
imp.unlock_stop(element)
}
}
};