diff --git a/src/plugins/Transloadit/index.js b/src/plugins/Transloadit/index.js index 90b2b00f6..6178346d4 100644 --- a/src/plugins/Transloadit/index.js +++ b/src/plugins/Transloadit/index.js @@ -273,6 +273,11 @@ module.exports = class Transloadit extends Plugin { // Remove this handler once we find the assembly we needed. this.core.emitter.off('transloadit:assembly-error', onAssemblyError) + // Clear postprocessing state for all our files. + fileIDs.forEach((fileID) => { + this.core.emit('core:postprocess-complete', fileID) + }) + // Reject the `afterUpload()` promise. reject(error) }