Bug 1534248 - Remove loading unnecessary generated sources. r=loganfsmyth

Differential Revision: https://phabricator.services.mozilla.com/D22966

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Jason Laster 2019-03-11 16:24:05 +00:00
parent 2aa5e2815b
commit 2daba0937d

View File

@ -83,11 +83,6 @@ export function loadSourceText(source: ?Source) {
return;
}
if (isOriginal(newSource) && !newSource.isWasm) {
const generatedSource = getGeneratedSource(getState(), source);
await dispatch(loadSourceText(generatedSource));
}
if (!newSource.isWasm && isLoaded(newSource)) {
await parser.setSource(newSource);
await dispatch(setBreakpointPositions(newSource.id));