Fix logs stuck in pending symbolocated state
Summary: This diff fixes an issue where symbolicated logs were getting stuck in a "pending" state if the timeout occurred before symbolication finished. Changelog: [Internal] Reviewed By: sahrens Differential Revision: D18894154 fbshipit-source-id: ed225962468f67aef40e430aa798f8d426d31027
This commit is contained in:
Родитель
bbfd64e3e9
Коммит
3714bfed2c
|
@ -191,6 +191,9 @@ function appendNewLog(newLog) {
|
|||
if (addPendingLog && status !== 'PENDING') {
|
||||
addPendingLog();
|
||||
clearTimeout(optimisticTimeout);
|
||||
} else if (status !== 'PENDING') {
|
||||
// The log has already been added but we need to trigger a render.
|
||||
handleUpdate();
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче