зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1566986 - Make getSymbols an async function so that callers always get a promise and never a synchronous exception. r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D44400 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
482bfa7a25
Коммит
c32c68086c
|
@ -63,7 +63,7 @@ function adjustState(newState) {
|
|||
}
|
||||
}
|
||||
|
||||
function getSymbols(debugName, breakpadId) {
|
||||
async function getSymbols(debugName, breakpadId) {
|
||||
if (symbolCache.size === 0) {
|
||||
primeSymbolStore(Services.profiler.sharedLibraries);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче