Skip to content

Burn bootloader blocks IDE until it is completed #2009

Closed
@matthijskooijman

Description

@matthijskooijman

Tested using the ide-1.5.x branch from git.

This is probably because the bootloader process does not happen in a separate thread. There is an attempt to do this by using SwingUtilities.invokeLater, but that doesn't spawn a new thread, it just runs the given function later in the event dispatching thread, which still locks up the GUI thread for as long as the function runs.

The proper fix this is to use an actual thread, but this should probably be combined by integrating the burn bootloader process into the verify/upload process (which should be simplified a lot - there's a lot of (unneeded) processing abstractions in there).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions