Flush pw streams on destroy

This commit is contained in:
Patrick Nicolas
2026-10-16 18:30:38 +02:00
parent a98410bae0
commit 3c2e5f66a6
+2
View File
@@ -40,6 +40,8 @@ struct deleter
}
void operator()(pw_stream * stream)
{
pw_stream_set_active(stream, false);
pw_stream_flush(stream, false);
pw_stream_destroy(stream);
}
};