Commit 0f9355cf authored by David Reid's avatar David Reid

Fix a bug when an async data buffer fails to load.

parent ae9449cd
......@@ -6714,6 +6714,7 @@ done:
pDataBuffer->pNode->data.decoded.decodedFrameCount = 0;
}
if (result == MA_SUCCESS) {
/* The job has been set up so it can now be posted. */
result = ma_resource_manager_post_job(pResourceManager, &pageDataBufferJob);
......@@ -6721,6 +6722,7 @@ done:
if (result == MA_SUCCESS) {
result = MA_BUSY;
}
}
/* We want to make sure we don't signal the event here. It needs to be delayed until the last page. */
pJob->loadDataBuffer.pNotification = NULL;
......
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