Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Destroy selenium before live server threads.

Ensure that selenium quits before the live server thread to
prevent occasional hangs when killing the live server.
  • Loading branch information...
commit 2c6079775e12366279dc0bb094ba860e4473be3c 1 parent 5a424c2
Florian Apolloner apollo13 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/tests.py
2  django/contrib/admin/tests.py
View
@@ -31,9 +31,9 @@ def setUpClass(cls):
@classmethod
def _tearDownClassInternal(cls):
- super(AdminSeleniumWebDriverTestCase, cls)._tearDownClassInternal()
if hasattr(cls, 'selenium'):
cls.selenium.quit()
+ super(AdminSeleniumWebDriverTestCase, cls)._tearDownClassInternal()
def wait_until(self, callback, timeout=10):
"""
Please sign in to comment.
Something went wrong with that request. Please try again.