Commit 48a5cdb4 authored by Vincent Pinon's avatar Vincent Pinon

Remove crash, not solving 1st startup not accepting media (see #117)

parent 0ed3dc18
...@@ -275,7 +275,7 @@ void JobManager::slotManageCanceledJob(int id) ...@@ -275,7 +275,7 @@ void JobManager::slotManageCanceledJob(int id)
Q_ASSERT(m_jobs.count(id) > 0); Q_ASSERT(m_jobs.count(id) > 0);
if (m_jobs[id]->m_processed) return; if (m_jobs[id]->m_processed) return;
m_jobs[id]->m_processed = true; m_jobs[id]->m_processed = true;
m_jobs[id]->m_completionMutex.unlock(); //m_jobs[id]->m_completionMutex.unlock(); // crashing on Windows
// send notification to refresh view // send notification to refresh view
for (const auto &it : m_jobs[id]->m_indices) { for (const auto &it : m_jobs[id]->m_indices) {
pCore->projectItemModel()->onItemUpdated(it.first, AbstractProjectItem::JobStatus); pCore->projectItemModel()->onItemUpdated(it.first, AbstractProjectItem::JobStatus);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment