Skip to content

Commit

Permalink
Do not retain references to processes and managers in TestSyncManager…
Browse files Browse the repository at this point in the history
…Types (GH-11801)

Keeping references to processes and managers between tests makes them count as dangling processes.
  • Loading branch information
pablogsal committed Feb 9, 2019
1 parent 8a03ff2 commit 613f729
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lib/test/_test_multiprocessing.py
Expand Up @@ -4740,6 +4740,8 @@ def tearDown(self):
self.proc.terminate()
self.proc.join()
self.manager.shutdown()
self.manager = None
self.proc = None

@classmethod
def setUpClass(cls):
Expand Down

0 comments on commit 613f729

Please sign in to comment.