154155156157158159160161162163164
DebugService svc = model.getDebugService(); synchronized (svc) { svc.removeListener(debugServiceListener); DebugSession session = svc.getCurrentSession(); if (session != null) { session.removeListener(sessionListener); } } } @Override