void (ActionEvent e) { if (myClosed) return; if (myPerformAction) return; myPerformAction = true; try (AccessToken ignore = SlowOperations.startSection(SlowOperations.ACTION_PERFORM)) { doAction(e); } finally { myPerformAction = false; } }