2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fix Media::Audio::Instance destruction.

This commit is contained in:
John Preston
2019-02-01 10:09:55 +03:00
parent 918d58ef0a
commit b28e374e06
6 changed files with 35 additions and 26 deletions

View File

@@ -111,7 +111,7 @@ void Application::run() {
anim::startManager();
Ui::InitTextOptions();
Ui::Emoji::Init();
Media::Player::start();
Media::Player::start(_audio.get());
DEBUG_LOG(("Application Info: inited..."));
@@ -1117,7 +1117,7 @@ Application::~Application() {
Window::Theme::Unload();
Media::Player::finish();
Media::Player::finish(_audio.get());
style::stopManager();
Local::finish();