mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
Fix gstreamer deinit
This commit is contained in:
parent
03e5ffcc7b
commit
4058a99c6a
1 changed files with 4 additions and 0 deletions
|
@ -28,6 +28,7 @@
|
|||
#include <kdsingleapplication.h>
|
||||
|
||||
#include "Cache.h"
|
||||
#include "CallManager.h"
|
||||
#include "ChatPage.h"
|
||||
#include "Logging.h"
|
||||
#include "MainWindow.h"
|
||||
|
@ -430,6 +431,9 @@ main(int argc, char *argv[])
|
|||
http::client()->close(true);
|
||||
nhlog::net()->debug("bye");
|
||||
}
|
||||
// This is required in order to destroy CallManager's QMediaPlayer, in turn allowing it
|
||||
// to destroy its GstPipeline so that gst_deinit() can return.
|
||||
ChatPage::instance()->callManager()->deleteLater();
|
||||
});
|
||||
|
||||
// It seems like handling the message in a blocking manner is a no-go. I have no idea how to
|
||||
|
|
Loading…
Reference in a new issue