aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2013-01-16 12:12:57 -0600
committerChristopher Allan Webber <cwebber@dustycloud.org>2013-01-16 12:12:57 -0600
commitf26c097d3ecb4c6dda476b823d3a567863677d21 (patch)
treed7648c1fcb06f7f42ea709752e9f3986b3ffa979
parent3c5f58370764918be7c4c298c01533cbea48c75e (diff)
downloadmediagoblin-f26c097d3ecb4c6dda476b823d3a567863677d21.tar.lz
mediagoblin-f26c097d3ecb4c6dda476b823d3a567863677d21.tar.xz
mediagoblin-f26c097d3ecb4c6dda476b823d3a567863677d21.zip
Make the workbench destroy itself for video processing also.
-rw-r--r--mediagoblin/media_types/video/processing.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mediagoblin/media_types/video/processing.py b/mediagoblin/media_types/video/processing.py
index 8d023c64..703c4681 100644
--- a/mediagoblin/media_types/video/processing.py
+++ b/mediagoblin/media_types/video/processing.py
@@ -137,3 +137,6 @@ def process_video(entry):
entry.media_files['original'] = original_filepath
mgg.queue_store.delete_file(queued_filepath)
+
+ # clean up workbench
+ workbench.destroy_self()