Another attempt to fix sound memleak
This commit is contained in:
parent
ac2913bd62
commit
c8e1035a90
1 changed files with 2 additions and 0 deletions
|
@ -634,6 +634,8 @@ void play_music_repeatedly(const std::string& id)
|
|||
if(!last_track || *last_track != *current_track) {
|
||||
play_music();
|
||||
}
|
||||
|
||||
last_track.reset();
|
||||
}
|
||||
|
||||
void play_music_config(const config& music_node, int i)
|
||||
|
|
Loading…
Add table
Reference in a new issue