Browse Source

Reference the right GitHub-issue

pull/1637/head
Safihre 5 years ago
parent
commit
d0a7ff00fc
  1. 2
      sabnzbd/assembler.py
  2. 2
      sabnzbd/decoder.py
  3. 2
      sabnzbd/postproc.py
  4. 2
      sabnzbd/urlgrabber.py
  5. 2
      tests/test_functional_downloads.py

2
sabnzbd/assembler.py

@ -56,7 +56,7 @@ class Assembler(Thread):
def run(self):
while 1:
# Set NzbObject and NzbFile objects to None so references
# from this thread do not keep the objects alive (see #1472)
# from this thread do not keep the objects alive (see #1628)
nzo = nzf = None
nzo, nzf, file_done = self.queue.get()
if not nzo:

2
sabnzbd/decoder.py

@ -117,7 +117,7 @@ class DecoderWorker(Thread):
def run(self):
while 1:
# Set Article and NzbObject objects to None so references from this
# thread do not keep the parent objects alive (see #1472)
# thread do not keep the parent objects alive (see #1628)
raw_data = article = nzo = None
article, raw_data = self.decoder_queue.get()
if not article:

2
sabnzbd/postproc.py

@ -246,7 +246,7 @@ class PostProcessor(Thread):
continue
# Set NzbObject object to None so references from this thread do not keep the
# object alive until the next job is added to post-processing (see #1472)
# object alive until the next job is added to post-processing (see #1628)
nzo = None
# Something in the fast queue?

2
sabnzbd/urlgrabber.py

@ -90,7 +90,7 @@ class URLGrabber(Thread):
self.shutdown = False
while not self.shutdown:
# Set NzbObject object to None so reference from this thread
# does not keep the object alive in the future (see #1472)
# does not keep the object alive in the future (see #1628)
future_nzo = None
url, future_nzo = self.queue.get()

2
tests/test_functional_downloads.py

@ -105,7 +105,7 @@ class TestDownloadFlow(SABnzbdBaseTest):
file_to_find = os.path.join(SAB_COMPLETE_DIR, test_job_name, file_output)
assert os.path.exists(file_to_find)
# Verify if the garbage collection works (see #1472)
# Verify if the garbage collection works (see #1628)
gc_results = get_api_result("gc_stats")["value"]
if gc_results:
pytest.fail(f"Objects were left in memory after the job finished! {gc_results}")

Loading…
Cancel
Save