mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
simplify formatting scripts, add a clang-tidy script, and run clang-tidy
This commit is contained in:
@@ -456,10 +456,12 @@ void AudioServer::_mix_step() {
|
||||
case AudioStreamPlaybackListNode::AWAITING_DELETION:
|
||||
case AudioStreamPlaybackListNode::FADE_OUT_TO_DELETION:
|
||||
playback_list.erase(playback, [](AudioStreamPlaybackListNode *p) {
|
||||
if (p->prev_bus_details)
|
||||
if (p->prev_bus_details) {
|
||||
delete p->prev_bus_details;
|
||||
if (p->bus_details)
|
||||
}
|
||||
if (p->bus_details) {
|
||||
delete p->bus_details;
|
||||
}
|
||||
p->stream_playback.unref();
|
||||
delete p;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user