final Scheduler scheduler = this.scheduler.get ();
Preconditions.checkState (scheduler != null);
this.reactor.transcript.traceDebugging ("invocking failure callback on handler `%{object}` for proxy `%{object:identity}` (owned by actor `%{object:identity}`) backed by isolate `%{object:identity}` (owned by scheduler `%{object:identity}`)...", handler, this.proxy, this, scheduler.isolate, scheduler);
// FIXME: This should be called only if we have successfully called `registeredCallbacks`
try {
handler.failedCallbacks (this.specification.cast (this.proxy), failure);
} catch (final Throwable exception) {
this.reactor.exceptions.traceIgnoredException (exception);
}
scheduler.unregisterActor (this);
Preconditions.checkState (this.handler.compareAndSet (handler, null));