1. Chris McDonough
  2. CherryPy

Commits

Robert Brewer  committed 196a34c

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

  • Participants
  • Parent commits f5d8dfe
  • Branches default

Comments (0)

Files changed (1)

File cherrypy/_cpserver.py

View file
  • Ignore whitespace
         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."""