diff --git a/static/js/services/filedata.js b/static/js/services/filedata.js index fb591df7..1ac6a5a5 100644 --- a/static/js/services/filedata.js +++ b/static/js/services/filedata.js @@ -56,6 +56,7 @@ define(["jquery", "underscore", "sha", "webrtc.adapter"], function($, _, jsSHA) }); this.file = { toURL: function() { + // TODO: only create once and revoke URL when no longer needed return URL.createObjectURL(data); } }