From 6dd623b1e3e2211cb2b06fd864df4ba38a39304d Mon Sep 17 00:00:00 2001 From: sneaxiy Date: Thu, 27 Dec 2018 12:53:48 +0800 Subject: [PATCH] test=develop --- .../fluid/tests/unittests/test_py_reader_using_executor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle/fluid/tests/unittests/test_py_reader_using_executor.py b/python/paddle/fluid/tests/unittests/test_py_reader_using_executor.py index d94494e219c..abc30874f61 100644 --- a/python/paddle/fluid/tests/unittests/test_py_reader_using_executor.py +++ b/python/paddle/fluid/tests/unittests/test_py_reader_using_executor.py @@ -209,6 +209,7 @@ class TestPyReaderUsingExecutor(unittest.TestCase): else: thread = threading.Thread( target=feed_data, args=(feed_queue, reader)) + thread.daemon = True thread.start() self.outputs = [] -- GitLab