Commits

Robert Brewer committed fee06cd

testAdditionalServers was causing test_states to hang because the former did not stop() all its servers.

  • Participants
  • Parent commits f0c4633

Comments (0)

Files changed (1)

File cherrypy/test/helper.py

         if td:
             td()
         
+        cherrypy.engine.exit()
+        
         for name, server in getattr(cherrypy, 'servers', {}).items():
             server.unsubscribe()
             del cherrypy.servers[name]
-        
-        cherrypy.engine.exit()
 
 
 class NativeServerSupervisor(LocalSupervisor):