()
| 802 | |
| 803 | @gen.coroutine |
| 804 | def slow_stop(): |
| 805 | yield self.server.close_all_connections() |
| 806 | # The number of iterations is difficult to predict. Typically, |
| 807 | # one is sufficient, although sometimes it needs more. |
| 808 | for i in range(5): |
| 809 | yield |
| 810 | self.server_ioloop.stop() |
| 811 | |
| 812 | self.server_ioloop.add_callback(slow_stop) |
| 813 |
nothing calls this directly
no test coverage detected