mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Delete hostname resolver asynchronously to avoid freezing the GUI on preference window closing
This commit is contained in:
parent
5962ef79cb
commit
4824637681
2 changed files with 26 additions and 5 deletions
|
@ -89,7 +89,7 @@ void PeerListWidget::updatePeerHostNameResolutionState() {
|
|||
}
|
||||
} else {
|
||||
if(resolver)
|
||||
delete resolver;
|
||||
resolver->asyncDelete();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue