Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 authored September 17, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/admin/tests.py
2  django/contrib/admin/tests.py
@@ -31,9 +31,9 @@ def setUpClass(cls):
31 31
 
32 32
     @classmethod
33 33
     def _tearDownClassInternal(cls):
34  
-        super(AdminSeleniumWebDriverTestCase, cls)._tearDownClassInternal()
35 34
         if hasattr(cls, 'selenium'):
36 35
             cls.selenium.quit()
  36
+        super(AdminSeleniumWebDriverTestCase, cls)._tearDownClassInternal()
37 37
 
38 38
     def wait_until(self, callback, timeout=10):
39 39
         """

0 notes on commit 2c60797

Please sign in to comment.
Something went wrong with that request. Please try again.