libobs: Add task scheduling features
(This commit also modifies the UI) Adds the ability to schedule tasks for certain threads
This commit is contained in:
parent
9f00350688
commit
8de20ab3be
6 changed files with 142 additions and 0 deletions
|
|
@ -2267,6 +2267,9 @@ void OBSBasic::ClearHotkeys()
|
|||
|
||||
OBSBasic::~OBSBasic()
|
||||
{
|
||||
/* clear out UI event queue */
|
||||
QApplication::sendPostedEvents(App());
|
||||
|
||||
if (updateCheckThread && updateCheckThread->isRunning())
|
||||
updateCheckThread->wait();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue