This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Dev build. I noticed that if Java scanning is running as a background process, and you click the close button on the main window, the GUI freezes until it finishes. This is because LifecycleManager.exit (from MainWindow.<...>.windowClosing) is a blocking call (has to ask modules whether they accept an exit). Just putting this call into a new RP thread would be a bit unsafe, I guess, since you do not want the user arbitrarily interacting with the GUI while the IDE is shutting down. Perhaps a modal dialog "Shutting down..." could be opened? Need to check whether that correctly interacts with e.g. "Save Modified Files" dialogs.
is it still true? It seems that the IDE offers cancellation of the scanning in "Exit" dialog. Closing, feel free to reopen if I'm wrong
Right, I think this was probably fixed with the usage of the Progress API from the Exit dialog.