Skip to content

IDE2 does not stop auth token refreshing after app stop #1820

Open

Description

Describe the problem

When I start IDE2, log in to the cloud and close the app, I can still see the refresh process is still up and running.

To reproduce

  • Start IDE 2.0.3 from a terminal,
  • Make sure you logged into the cloud -> you see the remote sketches,
  • Quit the app but keep the terminal open,
  • You will see
root INFO Refreshing token auth0|a_uuid
2023-01-17T09:20:31.727Z root INFO Refreshing token auth0|a_uuid
2023-01-17T09:30:02.791Z root INFO Refreshing token auth0|a_uuid
2023-01-17T09:30:31.710Z root INFO Refreshing token auth0|a_uuid
2023-01-17T09:30:31.725Z root INFO Refreshing token auth0|a_uuid

Expected behavior

All resources, such as the token refresh is stopped after the app quit.

Arduino IDE version

2.0.3

Operating system

macOS

Operating system version

12.5.1

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    topic: cloudRelated to Arduino Cloud and cloud sketchestopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions