private void b(Throwable paramThrowable) { l(); Iterator localIterator = this.e.iterator(); w localw = null; while (localIterator.hasNext()) { x localx = (x)localIterator.next(); if (localw == null) { localw = w.a(this, this.x, paramThrowable); } try { localx.a(localw); } catch (Exception localException) { com.xiaomi.channel.commonutils.logger.b.a("SMACK-BOSH:Unhandled Exception", localException); } } }
private void m() { boolean bool = this.h.isHeldByCurrentThread(); if (bool) { this.h.unlock(); } try { Iterator localIterator = this.e.iterator(); Object localObject2 = null; while (localIterator.hasNext()) { x localx = (x)localIterator.next(); if (localObject2 == null) { w localw = w.a(this); localObject2 = localw; } try { localx.a(localObject2); } catch (Exception localException) { com.xiaomi.channel.commonutils.logger.b.a("SMACK-BOSH:Unhandled Exception", localException); } } if (!bool) { return; } } finally { if (bool) { this.h.lock(); } } this.h.lock(); }