Make the workbench destroy itself for video processing also.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Wed, 16 Jan 2013 18:12:57 +0000 (12:12 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Wed, 16 Jan 2013 18:12:57 +0000 (12:12 -0600)
mediagoblin/media_types/video/processing.py

index 8d023c644e03de821d6cc170d446cdbcd2546295..703c4681d22422200310d1b919700aee264094eb 100644 (file)
@@ -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()