~kamus/+junk/gwibber-kamus

« back to all changes in this revision

Viewing changes to gwibber/microblog/dispatcher.py

  • Committer: Ken VanDine
  • Date: 2010-09-22 16:55:24 UTC
  • mfrom: (861.1.1 Bug628686-unblocking-UI)
  • Revision ID: ken.vandine@canonical.com-20100922165524-5525u3fsvy7hn0hw
Don't call get on the thread operation, it blocks the UI (LP: #628686)

Show diffs side-by-side

added added

removed removed

Lines of Context:
234
234
 
235
235
  def run(self):
236
236
    try:
237
 
      self.pool.map_async(self.func, self.iterable, callback = self.callback).get(timeout = 240)
 
237
      self.pool.map_async(self.func, self.iterable, callback = self.callback)
238
238
    except Exception as e:
239
239
      self.failure(e, traceback.format_exc())
240
240