()
| 899 | |
| 900 | @gen.coroutine |
| 901 | def slow_stop(): |
| 902 | yield self.server.close_all_connections() |
| 903 | # The number of iterations is difficult to predict. Typically, |
| 904 | # one is sufficient, although sometimes it needs more. |
| 905 | for i in range(5): |
| 906 | yield |
| 907 | self.server_ioloop.stop() |
| 908 | |
| 909 | self.server_ioloop.add_callback(slow_stop) |
| 910 |
nothing calls this directly
no test coverage detected