Port from Zope 2.7 branch.
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).
Showing
Please register or sign in to comment