)]}'
{"oslo_service/threadgroup.py":[{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"2abff7384d1ce862c3abf1dbe26672b045f67a8e","unresolved":false,"context_lines":[{"line_number":120,"context_line":"            lambda x: LOG.exception(_LE(\u0027Error stopping thread.\u0027)))"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"    def stop_timers(self):"},{"line_number":123,"context_line":"        for timer in self.timers:"},{"line_number":124,"context_line":"            timer.stop()"},{"line_number":125,"context_line":"        self.timers \u003d []"},{"line_number":126,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_c3ae7be5","line":123,"updated":"2015-11-11 19:51:13.000000000","message":"What about:\n\n    \u003e\u003e\u003e while self.timers:\n    ...   t \u003d self.timers[-1]\n    ...   t.stop()\n    ...   self.timers.pop()\n\nThen if one timer for some reason doesn\u0027t stop, that exception can be handled, and then this method could be called again, and it will resume from the last timer that was successfully stopped...","commit_id":"a1a2bff9e52e432ab7c57ddb1d5be6146dbc1aa0"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"9f5f64964d1b5921986c1d3aa56464ae249919d0","unresolved":false,"context_lines":[{"line_number":120,"context_line":"            lambda x: LOG.exception(_LE(\u0027Error stopping thread.\u0027)))"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"    def stop_timers(self):"},{"line_number":123,"context_line":"        for timer in self.timers:"},{"line_number":124,"context_line":"            timer.stop()"},{"line_number":125,"context_line":"        self.timers \u003d []"},{"line_number":126,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ba8a016a_d2597536","line":123,"in_reply_to":"da85f559_307bf329","updated":"2015-11-19 01:03:06.000000000","message":"Ok ok, :-P","commit_id":"a1a2bff9e52e432ab7c57ddb1d5be6146dbc1aa0"},{"author":{"_account_id":14358,"name":"Marian Horban","email":"m.horban@gmail.com","username":"mhorban"},"change_message_id":"24618fdd90d042e385bbdbc409b752cd1808cfc8","unresolved":false,"context_lines":[{"line_number":120,"context_line":"            lambda x: LOG.exception(_LE(\u0027Error stopping thread.\u0027)))"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"    def stop_timers(self):"},{"line_number":123,"context_line":"        for timer in self.timers:"},{"line_number":124,"context_line":"            timer.stop()"},{"line_number":125,"context_line":"        self.timers \u003d []"},{"line_number":126,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_307bf329","line":123,"in_reply_to":"da85f559_c3ae7be5","updated":"2015-11-12 08:46:19.000000000","message":"self.timers is list of DynamicLoopingCall of FixedIntervalLoopingCall objects.\nImplementation of stop method is:\n    def stop(self):\n        self._running \u003d False\nWhat could obstruct stopping of timer? :)","commit_id":"a1a2bff9e52e432ab7c57ddb1d5be6146dbc1aa0"}]}
