Skip to content

Commit

Permalink
Merge pull request #5895 from drew2a/fix/5843
Browse files Browse the repository at this point in the history
Return from "on_received_metainfo" if the dialog closed
  • Loading branch information
drew2a committed Dec 30, 2020
2 parents 655794a + 8015cfe commit 2b4858f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tribler-gui/tribler_gui/dialogs/startdownloaddialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def perform_files_request(self):
self.metainfo_retries += 1

def on_received_metainfo(self, response):
if not response or not self:
if not response or not self or self.closed:
return

if 'error' in response:
Expand Down

0 comments on commit 2b4858f

Please sign in to comment.