Skip to content

Commit

Permalink
Fixed: Audio system shutdown
Browse files Browse the repository at this point in the history
Data created by unloaded plugins must also be deleted.
  • Loading branch information
skyjake committed Nov 15, 2018
1 parent 148b06a commit 9ce794b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/apps/client/src/audio/base/audiosystem.cpp
Expand Up @@ -346,6 +346,8 @@ DENG2_PIMPL(AudioSystem)
drivers[i].deinitialize();
}

module.set("outputs", new DictionaryValue);

// Unload the plugins after everything has been shut down.
for (AudioDriver &driver : drivers)
{
Expand Down

0 comments on commit 9ce794b

Please sign in to comment.