import java.util.EventObject;
public abstract class XDebugView implements Disposable {
public enum SessionEvent {PAUSED, BEFORE_RESUME, RESUMED, STOPPED, FRAME_CHANGED, SETTINGS_CHANGED}
private final SingleAlarm myClearAlarm;
private static final int VIEW_CLEAR_DELAY = 100; //ms
<BUG>private volatile XDebugSession session;</BUG>
public XDebugView() {
myClearAlarm = new SingleAlarm(new Runnable() {
@Override
<BUG>public void run() {
clear(session);
session = null;</BUG>
}

import java.util.EventObject;
public abstract class XDebugView implements Disposable {
public enum SessionEvent {PAUSED, BEFORE_RESUME, RESUMED, STOPPED, FRAME_CHANGED, SETTINGS_CHANGED}
private final SingleAlarm myClearAlarm;
private static final int VIEW_CLEAR_DELAY = 100; //ms
public XDebugView() {
myClearAlarm = new SingleAlarm(new Runnable() {
@Override
public void run() {
clear();
}
