Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'jb33794' into 'mer-stable'
Fix the problem with QNetworkAccessManager getting stuck in NotAccessible state It appears that `QNetworkAccessManager` can keep receiving queued signals even after it has cleared its reference to `QNetworkSession` and disconnected the slots. That can mess up `networkAccessible` state. Particularly, `QNetworkAccessManager` can get stuck in `NotAccessible` state and refuse to submit new network requests until the next online state change signal pulls it out of this state. There still may be a possibility that a signal from an old `QNetworkSession` could arrive when `QNetworkAccessManager` has already switched to another `QNetworkSession`, but this scenario is probably broken by design, since for whatever reason `QNetworkAccessManager` is only tracking one `QNetworkSession`. In any case, it's far less likely than the scenario which I was trying to fix. See merge request !3
- Loading branch information
Showing
3 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters