• Tim Peters's avatar
    Port from Zope 2.7 branch. · dbe29845
    Tim Peters authored
    After consulting with Mark Hammond, removed the explicit calls to SvcStop().
    
    That method gets invoked automatically by the services framework when a
    stop request is generated.  Calling it explicitly too caused the onStop()
    method to get called multiple times.  At least ZRS's Service subclasses
    have onStop() methods that can't be called multiple times without raising
    exceptions (they shut things down, and stuff like sockets go away the
    first time onStop() gets called).
    dbe29845
service.py 15.5 KB