mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
[network] Clear PAC loader when the load failed
This commit is contained in:
parent
2706ef696d
commit
991e2ffb4b
1 changed files with 5 additions and 0 deletions
|
|
@ -474,6 +474,11 @@ nsPACMan::StartLoading()
|
|||
void
|
||||
nsPACMan::OnLoadFailure()
|
||||
{
|
||||
// We have to clear the loader to indicate that we are currently not loading PAC.
|
||||
if (mLoader) {
|
||||
mLoader = nullptr;
|
||||
}
|
||||
|
||||
int32_t minInterval = 5; // 5 seconds
|
||||
int32_t maxInterval = 300; // 5 minutes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue