Refactor the use of multiple threads for streams

This commit is contained in:
2021-09-12 23:43:11 +01:00
parent 9a63a57458
commit de80c85596
8 changed files with 139 additions and 91 deletions
+2 -2
View File
@@ -188,13 +188,13 @@ void CalypAppModuleIf::run()
{
return;
}
m_bSuccess = true;
m_bIsRunning = false;
#ifdef CALYP_THREADED_MODULES
EventData* eventData = new EventData( m_bSuccess, this );
if( parent() )
QCoreApplication::postEvent( parent(), eventData );
#endif
m_bSuccess = true;
m_bIsRunning = false;
return;
}