Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
WeizhongX committed Dec 16, 2024
1 parent e7f4ba4 commit 97b52e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/wptrunner/wptrunner/testrunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -994,6 +994,8 @@ def _ensure_runner_stopped(self):
self.logger.debug("Recreating command queue")
self.command_queue.cancel_join_thread()
self.command_queue.close()
# Reset the command queue for BrowserManager also as that won't
# be set again during retry.
self.browser.command_queue = self.command_queue = mp.Queue()
self.logger.debug("Recreating remote queue")
self.remote_queue.cancel_join_thread()
Expand Down

0 comments on commit 97b52e4

Please sign in to comment.