diff --git a/src/app.js b/src/app.js index 8d22a52905..eb77c7d071 100644 --- a/src/app.js +++ b/src/app.js @@ -320,6 +320,7 @@ var run = function() { while (window.localStorage[SOL_CACHE_UNTITLED + untitledCount]) untitledCount = (untitledCount - 0) + 1; SOL_CACHE_FILE = SOL_CACHE_UNTITLED + untitledCount; + sessions[SOL_CACHE_FILE] = null; window.localStorage[SOL_CACHE_FILE] = ''; updateFiles();