void (@NotNull ProcessEvent event, boolean willBeDestroyed) { if (dropProcessInfo(key, null, event.getProcessHandler())) { fireModificationCountChanged(); } Heartbeat heartbeat = myHeartbeatRef.get(); if (heartbeat != null) { heartbeat.stopBeat(); } }