Commits

Robert Brewer committed 196a34c

Minor order-of-execution error in server.restart.

Comments (0)

Files changed (1)

cherrypy/_cpserver.py

         self.stop()
         for func in self.onStartServerList:
             func()
+        self.start_http_server()
         self.state = STARTED
-        self.start_http_server()
     
     def wait(self):
         """Block the caller until ready to receive requests."""