mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-23 03:39:38 +00:00
Remove debugging printlns.
This commit is contained in:
parent
80fa5d4583
commit
590d6369fb
|
@ -83,9 +83,6 @@ impl WinRT {
|
||||||
backend_to_playback_list.insert(bid, playback_list.clone());
|
backend_to_playback_list.insert(bid, playback_list.clone());
|
||||||
playback_list.current_item_changed(TypedEventHandler::new(
|
playback_list.current_item_changed(TypedEventHandler::new(
|
||||||
|sender: &MediaPlaybackList, args: &CurrentMediaPlaybackItemChangedEventArgs| {
|
|sender: &MediaPlaybackList, args: &CurrentMediaPlaybackItemChangedEventArgs| {
|
||||||
println!("Changed");
|
|
||||||
println!("{:?}, {:?}", args.old_item()?, args.new_item()?);
|
|
||||||
//sender.items()?.clear()?;
|
|
||||||
let backend_to_playback_list = BACKEND_TO_PLAYBACK_LIST.lock().unwrap();
|
let backend_to_playback_list = BACKEND_TO_PLAYBACK_LIST.lock().unwrap();
|
||||||
let id = backend_to_playback_list.iter().find(|v| v.1 == sender);
|
let id = backend_to_playback_list.iter().find(|v| v.1 == sender);
|
||||||
if let Some(id) = id {
|
if let Some(id) = id {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user